mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 14:14:46 +00:00
Revert "Added several more functions to pre-existing classes:"
This reverts commit e9a8f8cebc.
This commit is contained in:
1 parent
0d3436c71b
commit
6ae465c5d0
51 files changed
+226
-1024
No files matched your search
@@ -1,9 +1,7 @@
|
||||
package noppes.npcs.scripted.roles;
|
||||
|
||||
import net.minecraft.entity.INpc;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
import noppes.npcs.roles.RoleInterface;
|
||||
import noppes.npcs.scripted.NpcAPI;
|
||||
import noppes.npcs.scripted.constants.RoleType;
|
||||
import noppes.npcs.scripted.interfaces.roles.IRole;
|
||||
|
||||
@@ -16,10 +14,6 @@ public class ScriptRoleInterface implements IRole {
|
||||
this.role = npc.roleInterface;
|
||||
}
|
||||
|
||||
public INpc getNpc() {
|
||||
return (INpc) NpcAPI.Instance().getIEntity(npc);
|
||||
}
|
||||
|
||||
/**
|
||||
* @see noppes.npcs.scripted.constants.RoleType
|
||||
* @return The RoleType of this role
|
||||
|
||||
Reference in new issue
Block a user