mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 01:05:12 +00:00
Fix Compile
This commit is contained in:
1 parent
ff5ce2f556
commit
63c704f80a
2 files changed
+1
-23
No files matched your search
@@ -33,7 +33,6 @@ public class ScriptHookController implements IScriptHookHandler {
|
||||
CONTEXT_ITEM,
|
||||
CONTEXT_LINKED_ITEM,
|
||||
CONTEXT_FORGE,
|
||||
CONTEXT_GLOBAL_NPC,
|
||||
CONTEXT_RECIPE,
|
||||
CONTEXT_EFFECT
|
||||
};
|
||||
@@ -77,27 +76,6 @@ public class ScriptHookController implements IScriptHookHandler {
|
||||
EnumScriptType.ABILITY_COMPLETE.function
|
||||
);
|
||||
|
||||
// Global NPC hooks (same as NPC)
|
||||
registerBuiltIn(CONTEXT_GLOBAL_NPC,
|
||||
EnumScriptType.INIT.function,
|
||||
EnumScriptType.TICK.function,
|
||||
EnumScriptType.INTERACT.function,
|
||||
EnumScriptType.DIALOG.function,
|
||||
EnumScriptType.DAMAGED.function,
|
||||
EnumScriptType.KILLED.function,
|
||||
EnumScriptType.ATTACK_MELEE.function,
|
||||
EnumScriptType.ATTACK_SWING.function,
|
||||
EnumScriptType.RANGED_LAUNCHED.function,
|
||||
EnumScriptType.TARGET.function,
|
||||
EnumScriptType.COLLIDE.function,
|
||||
EnumScriptType.KILLS.function,
|
||||
EnumScriptType.DIALOG_CLOSE.function,
|
||||
EnumScriptType.TIMER.function,
|
||||
EnumScriptType.TARGET_LOST.function,
|
||||
EnumScriptType.PROJECTILE_TICK.function,
|
||||
EnumScriptType.PROJECTILE_IMPACT.function
|
||||
);
|
||||
|
||||
// Player hooks
|
||||
registerBuiltIn(CONTEXT_PLAYER,
|
||||
EnumScriptType.INIT.function,
|
||||
|
||||
Reference in new issue
Block a user