ActionManager name

This commit is contained in:
bigguy345 committed 2025-07-07 13:21:39 +03:00
1 parent 5cb5e3da85
commit e6d4e1f3fd
4 files changed
+22

No files matched your search

@@ -1408,6 +1408,9 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
}
public IActionManager getActionManager() {
if (npc.actionManager.getName().isEmpty())
npc.actionManager.setName(String.format("%s's Action Manager", npc.getCommandSenderName()));
return npc.actionManager;
}