Override updateLeashedState() function in EntityNPCInterface.

NPCs can't be leashed anyway. This should avoid the "does not know how to add entity" crash with NPCs.
This commit is contained in:
luisc committed 2022-02-20 00:56:57 -06:00
1 parent 33e884c217
commit 732e97e0fe
1 file changed
+2
@@ -1817,4 +1817,6 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
{
this.display.modelType = val;
}
protected void updateLeashedState(){}
}