mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 15:27:29 +00:00
Merge pull request #205 from KAMKEEL/codex/fix-crash-in-controls-menu-with-both-mods
Fix key binding registration to avoid Controls crash
This commit is contained in:
13 files changed
+34
-19
No files matched your search
@@ -287,10 +287,9 @@ public class ClientProxy extends CommonProxy {
|
||||
}
|
||||
Minecraft mc = Minecraft.getMinecraft();
|
||||
|
||||
NPCButton = new KeyBinding("NPC Inventory", Keyboard.KEY_N, "key.categories.customnpc");
|
||||
NPCButton = new KeyBinding("key.npcInventory", Keyboard.KEY_N, "key.categories.customnpc");
|
||||
|
||||
ClientRegistry.registerKeyBinding(NPCButton);
|
||||
mc.gameSettings.loadOptions();
|
||||
|
||||
new PresetController(CustomNpcs.Dir);
|
||||
|
||||
|
||||
Reference in new issue
Block a user