fixed boats and minecarts

This commit is contained in:
Tschipp 2021-12-25 00:17:44 +01:00
parent 28c4d4a2f9
commit cc70ed906b

View File

@ -207,11 +207,17 @@ public class ItemCarryonEntity extends Item
{
if (entity instanceof Mob)
initGoals.invoke(entity);
entity.load(e);
entity.deserializeNBT(e);
}
catch (Exception e1)
{
e1.printStackTrace();
try
{
entity.deserializeNBT(e);
}
catch (Exception e2)
{
}
}
}