mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-13 00:47:50 +00:00
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:
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(){}
|
||||
}
|
||||
Reference in new issue
Block a user