fixed boats and minecarts
This commit is contained in:
parent
28c4d4a2f9
commit
cc70ed906b
|
|
@ -207,11 +207,17 @@ public class ItemCarryonEntity extends Item
|
||||||
{
|
{
|
||||||
if (entity instanceof Mob)
|
if (entity instanceof Mob)
|
||||||
initGoals.invoke(entity);
|
initGoals.invoke(entity);
|
||||||
entity.load(e);
|
entity.deserializeNBT(e);
|
||||||
}
|
}
|
||||||
catch (Exception e1)
|
catch (Exception e1)
|
||||||
{
|
{
|
||||||
e1.printStackTrace();
|
try
|
||||||
|
{
|
||||||
|
entity.deserializeNBT(e);
|
||||||
|
}
|
||||||
|
catch (Exception e2)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user