Added player's ActionManager getter to API

This commit is contained in:
bigguy345 committed 2025-06-28 09:38:38 +03:00
1 parent 9322cd7429
commit 6de09c1ee4
1 file changed
+6
@@ -27,6 +27,7 @@ import noppes.npcs.api.*;
import noppes.npcs.api.entity.IEntity;
import noppes.npcs.api.entity.IPlayer;
import noppes.npcs.api.gui.ICustomGui;
import noppes.npcs.api.handler.IActionManager;
import noppes.npcs.api.handler.IOverlayHandler;
import noppes.npcs.api.handler.data.*;
import noppes.npcs.api.item.IItemStack;
@@ -846,4 +847,9 @@ public class ScriptPlayer<T extends EntityPlayerMP> extends ScriptLivingBase<T>
public IPlayerAttributes getAttributes() {
return AttributeController.getTracker(this.player);
}
@Override
public IActionManager getActionManager() {
return data.actionManager;
}
}