Proper Reformating

This commit is contained in:
Kam committed 2025-03-13 17:14:45 -04:00
1 parent ce75880aba
commit 180d257024
1179 files changed
+59847 -61583

No files matched your search

@@ -8,32 +8,33 @@ import noppes.npcs.scripted.NpcAPI;
import noppes.npcs.scripted.constants.JobType;
public class ScriptJobInterface implements IJob {
public final EntityNPCInterface npc;
public final JobInterface jobInterface;
public final EntityNPCInterface npc;
public final JobInterface jobInterface;
public ScriptJobInterface(JobInterface jobInterface) {
this.npc = null;
this.jobInterface = jobInterface;
}
public ScriptJobInterface(JobInterface jobInterface) {
this.npc = null;
this.jobInterface = jobInterface;
}
public ScriptJobInterface(EntityNPCInterface npc){
this.npc = npc;
this.jobInterface = npc.jobInterface;
}
/**
* @see noppes.npcs.scripted.constants.JobType
* @return Returns the JobType
*/
public int getType(){
return JobType.UNKNOWN;
}
public ScriptJobInterface(EntityNPCInterface npc) {
this.npc = npc;
this.jobInterface = npc.jobInterface;
}
public JobInterface getJobInterface() {
return jobInterface;
}
/**
* @return Returns the JobType
* @see noppes.npcs.scripted.constants.JobType
*/
public int getType() {
return JobType.UNKNOWN;
}
public ICustomNpc getNpc() {
return (ICustomNpc) NpcAPI.Instance().getIEntity(npc);
}
public JobInterface getJobInterface() {
return jobInterface;
}
public ICustomNpc getNpc() {
return (ICustomNpc) NpcAPI.Instance().getIEntity(npc);
}
}