Merge branch 'patch' into dev

This commit is contained in:
Luis C.M committed 2023-05-30 01:28:02 -05:00
commit 500034f5f5
2 files changed
+2 -2

No files matched your search

@@ -180,7 +180,7 @@ public class DataScript implements IScriptHandler {
engine.put("npc", dummyNpc);
engine.put("world", dummyWorld);
engine.put("event", event);
engine.put("API", new NpcAPI());
engine.put("API", NpcAPI.Instance());
engine.put("EntityType", entities);
engine.put("RoleType", roles);
engine.put("JobType", jobs);
@@ -75,7 +75,7 @@ public class NpcAPI extends AbstractNpcAPI {
public static final EventBus EVENT_BUS = new EventBus();
private static AbstractNpcAPI instance = null;
public NpcAPI() {
private NpcAPI() {
}
public static void clearCache() {