Quest Log Button renamed to CustomNPC+

This commit is contained in:
Kam committed 2024-03-17 16:09:31 -04:00
1 parent cf0223c827
commit b671757b55
2 files changed
+4 -4

No files matched your search

@@ -76,7 +76,7 @@ import java.io.IOException;
import java.util.Random;
public class ClientProxy extends CommonProxy {
public static KeyBinding QuestLog;
public static KeyBinding NPCButton;
public static FontContainer Font;
@@ -131,9 +131,9 @@ public class ClientProxy extends CommonProxy {
}
Minecraft mc = Minecraft.getMinecraft();
QuestLog = new KeyBinding("Quest Log", Keyboard.KEY_L, "key.categories.gameplay");
NPCButton = new KeyBinding("CustomNPC+", Keyboard.KEY_L, "key.categories.gameplay");
ClientRegistry.registerKeyBinding(QuestLog);
ClientRegistry.registerKeyBinding(NPCButton);
mc.gameSettings.loadOptions();
new PresetController(CustomNpcs.Dir);
@@ -89,7 +89,7 @@ public class ClientTickHandler{
@SubscribeEvent
public void onKey(InputEvent.KeyInputEvent event){
if(ClientProxy.QuestLog.isPressed()){
if(ClientProxy.NPCButton.isPressed()){
Minecraft mc = Minecraft.getMinecraft();
if(mc.currentScreen == null){
switch (GuiCNPCInventory.activeTab){