mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 15:45:10 +00:00
Right Click Event for Players
This commit is contained in:
1 parent
b86c1ceabb
commit
2b6f63a3e3
7 files changed
+84
-5
No files matched your search
@@ -242,7 +242,7 @@ public class DataScript implements INpcScriptHandler {
|
||||
@Override
|
||||
public void callScript(String hookName, Event event) {
|
||||
try {
|
||||
EnumScriptType enumScriptType = EnumScriptType.valueOf(hookName);
|
||||
EnumScriptType enumScriptType = EnumScriptType.valueOfIgnoreCase(hookName);
|
||||
this.callScript(enumScriptType, event);
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user