fixed boats/minecarts
This commit is contained in:
parent
0d7aa01233
commit
27addc84a9
|
|
@ -205,11 +205,19 @@ public class ItemCarryonEntity extends Item
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
initGoals.invoke(entity);
|
if (entity instanceof Mob)
|
||||||
|
initGoals.invoke(entity);
|
||||||
entity.deserializeNBT(e);
|
entity.deserializeNBT(e);
|
||||||
}
|
}
|
||||||
catch (Exception e1)
|
catch (Exception e1)
|
||||||
{
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
entity.deserializeNBT(e);
|
||||||
|
}
|
||||||
|
catch (Exception e2)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user