mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 15:45:10 +00:00
DataScript:
-Now doesn't create a new instance of NpcAPI
This commit is contained in:
1 parent
1ce5b7b302
commit
895d20335f
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);
|
||||
|
||||
Reference in new issue
Block a user