mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 06:04:44 +00:00
Registered forge events on both MinecraftForge.EVENT_BUS and FMLCommonHandler.instance().bus().
This commit is contained in:
1 parent
ce9b9fb59d
commit
e5edbe002e
3 files changed
+4
-12
No files matched your search
@@ -170,10 +170,6 @@ public class GuiScriptInterface extends GuiNPCInterface implements GuiYesNoCallb
|
||||
}
|
||||
}
|
||||
}
|
||||
String eventName = CommandEvent.class.getName();
|
||||
int i = eventName.lastIndexOf(".");
|
||||
eventName = StringUtils.uncapitalize(eventName.substring(i + 1).replace("$", ""));
|
||||
hookList.add(eventName);
|
||||
}
|
||||
hooks.setUnsortedList(hookList);
|
||||
addScroll(hooks);
|
||||
|
||||
Reference in new issue
Block a user