mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 08:27:45 +00:00
cleared ActionManager on NPC delete
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user