cleared ActionManager on NPC delete

This commit is contained in:
bigguy345 committed 2025-06-30 08:59:51 +03:00
1 parent 6a04a0ea28
commit bc2bab889d
3 files changed
+48 -37

No files matched your search

@@ -1407,6 +1407,8 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
roleInterface.delete();
if (advanced.job != EnumJobType.None && jobInterface != null)
jobInterface.delete();
actionManager.clear();
super.setDead();
}