mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
Added player's ActionManager getter to API
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user