Fixed IRole.getType returning out of order types for scripting.

This commit is contained in:
Kam committed 2024-01-25 14:27:02 -05:00
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;
}
}