Open mouse input gui when command key is pressed
This commit is contained in:
@@ -158,7 +158,8 @@ public class KeyInputHandler {
|
||||
|
||||
if(!ReplayHandler.isInReplay() || (mc.currentScreen != null && !(mc.currentScreen instanceof GuiMouseInput))) return;
|
||||
|
||||
if(kb.getKeyDescription().equals("key.chat") && (kb.isPressed() || kb.getKeyCode() == keyCode)) {
|
||||
if((kb.getKeyDescription().equals("key.chat") || kb.getKeyDescription().equals("key.command"))
|
||||
&& (kb.isPressed() || kb.getKeyCode() == keyCode)) {
|
||||
mc.displayGuiScreen(new GuiMouseInput(ReplayMod.overlay));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user