Compare commits

...

1 Commits

Author SHA1 Message Date
Tschipp
27addc84a9 fixed boats/minecarts 2021-12-25 00:09:33 +01:00

View File

@ -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)
{
}
} }
} }