mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 17:19:05 +00:00
Fixed IRole.getType returning out of order types for scripting.
This commit is contained in:
1 parent
e81f9403a1
commit
75ba7a792b
4 files changed
+26
-6
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package noppes.npcs.scripted.roles;
|
||||
|
||||
import noppes.npcs.api.roles.IRoleMailman;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
import noppes.npcs.scripted.constants.RoleType;
|
||||
|
||||
public class ScriptRoleCompanion extends ScriptRoleInterface implements IRoleMailman {
|
||||
|
||||
public ScriptRoleCompanion(EntityNPCInterface npc) {
|
||||
super(npc);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getType(){
|
||||
return RoleType.COMPANION;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user