Custom Key inputs are only handled when no GUI (or GuiMouseInput) open
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user