fixed boats/minecarts

This commit is contained in:
Tschipp 2021-12-25 00:09:33 +01:00
parent 0d7aa01233
commit 27addc84a9

View File

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