Update IScriptHookHandler.java

This commit is contained in:
Kam committed 2026-01-22 17:27:46 -05:00
1 parent 6fe282f3c6
commit b90df20fc4
1 file changed
-8
@@ -1,7 +1,5 @@
package noppes.npcs.api.handler;
import noppes.npcs.constants.ScriptContext;
import java.util.List;
/**
@@ -18,15 +16,9 @@ import java.util.List;
* - "global_npc" - Global NPC scripts editor
* - "recipe" - Recipe scripts editor
* - "effect" - Custom effect scripts editor
*
* Note: Context constants are deprecated. Use ScriptContext.XXX.hookContext instead.
*/
public interface IScriptHookHandler {
void registerHook(ScriptContext context, String functionName);
void registerHooks(ScriptContext context, String... functionNames);
/**
* Register a hook for a single context.
*