mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 20:52:36 +00:00
Null out the loader.
This commit is contained in:
1 parent
b4608ffe19
commit
4d825b6cf3
6 files changed
+55
-15
No files matched your search
@@ -316,6 +316,8 @@ public class EventHooks {
|
||||
NpcEvent.InteractEvent event = new NpcEvent.InteractEvent(npc.wrappedNPC, player);
|
||||
ScriptController.Instance.globalNpcScripts.callScript(EnumScriptType.INTERACT, event);
|
||||
boolean result = npc.script.callScript(EnumScriptType.INTERACT, event, "player", player);
|
||||
if (npc.janinoHandler != null)
|
||||
npc.janinoHandler.onInteract(event);
|
||||
NpcAPI.EVENT_BUS.post(event);
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user