mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 03:49:10 +00:00
Fixed some scripted item events, and fixed positioning of scripted items.
This commit is contained in:
1 parent
747730face
commit
11cc46b48f
20 files changed
+231
-146
No files matched your search
@@ -120,7 +120,7 @@ public class NPCDataScript implements IScriptHandler {
|
||||
}
|
||||
public ICustomNpc getNpc() {
|
||||
if (this.npcAPI == null) {
|
||||
this.npcAPI = (ICustomNpc) NpcAPI.Instance().getIEntity(this.npc);
|
||||
this.npcAPI = (ICustomNpc) ScriptController.Instance.getScriptForEntity(this.npc);
|
||||
}
|
||||
return this.npcAPI;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user