ActionManager no longer cleared on entity's death/reset

This commit is contained in:
bigguy345 committed 2025-06-28 19:10:15 +03:00
1 parent 203a794950
commit dd4b0c8b4b
2 files changed
+2 -2

No files matched your search

@@ -1168,7 +1168,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
setHealth(getMaxHealth());
dataWatcher.updateObject(14, 0); // animation Normal
dataWatcher.updateObject(15, 0);
actionManager.clear();
// actionManager.clear();
combatHandler.reset();
this.setAttackTarget(null);
this.setRevengeTarget(null);