Custom Key inputs are only handled when no GUI (or GuiMouseInput) open

This commit is contained in:
CrushedPixel
2015-06-16 21:36:16 +02:00
parent b0f253538c
commit 7f47e40ef4

View File

@@ -128,7 +128,7 @@ public class KeyInputHandler {
}
}
if(!ReplayHandler.isInReplay()) return;
if(!ReplayHandler.isInReplay() || (mc.currentScreen != null && !(mc.currentScreen instanceof GuiMouseInput))) return;
if(kb.getKeyDescription().equals("key.chat") && (kb.isPressed() || kb.getKeyCode() == keyCode)) {
mc.displayGuiScreen(new GuiMouseInput(ReplayMod.overlay));