Updated interfaces to have the proper functions. Documentation will focus around them, so they'll be better organized from now on.

This commit is contained in:
Luis C.M committed 2022-05-11 16:31:14 -05:00
1 parent aab550cdca
commit c2546c3f82
22 files changed
+801 -355

No files matched your search

@@ -317,6 +317,7 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
return new ScriptRoleTransporter(npc);
return new ScriptRoleInterface(npc);
}
public void setRole(int role){
for (EnumRoleType e : EnumRoleType.values()) {
if (e.ordinal() == role) {
@@ -348,6 +349,7 @@ public class ScriptNpc<T extends EntityNPCInterface> extends ScriptLiving<T> imp
return new ScriptJobSpawner(npc);
return new ScriptJobInterface(npc);
}
public void setJob(int job){
for (EnumJobType e : EnumJobType.values()) {
if (e.ordinal() == job) {