mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 09:39:05 +00:00
CNPC+ Keybind Category
This commit is contained in:
1 parent
eea3518a55
commit
b468663bcc
3 files changed
+4
-2
No files matched your search
@@ -131,7 +131,7 @@ public class ClientProxy extends CommonProxy {
|
||||
}
|
||||
Minecraft mc = Minecraft.getMinecraft();
|
||||
|
||||
NPCButton = new KeyBinding("CustomNPC+", Keyboard.KEY_L, "key.categories.gameplay");
|
||||
NPCButton = new KeyBinding("NPC Inventory", Keyboard.KEY_L, "key.categories.customnpc");
|
||||
|
||||
ClientRegistry.registerKeyBinding(NPCButton);
|
||||
mc.gameSettings.loadOptions();
|
||||
|
||||
@@ -112,7 +112,7 @@ public class ClientTickHandler{
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if(mc.currentScreen instanceof GuiQuestLog)
|
||||
else if(mc.currentScreen instanceof GuiCNPCInventory)
|
||||
mc.setIngameFocus();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user