In MinecraftTicker, only handle Key Input if no GUI is open as the GUI will invoke the same dispatchKeypresses() method itself
This commit is contained in:
@@ -93,7 +93,9 @@ public class MinecraftTicker {
|
||||
mc.debugCrashKeyPressTime = Minecraft.getSystemTime();
|
||||
}
|
||||
|
||||
mc.dispatchKeypresses();
|
||||
if(mc.currentScreen == null) {
|
||||
mc.dispatchKeypresses();
|
||||
}
|
||||
|
||||
if(Keyboard.getEventKeyState()) {
|
||||
if(i == 62 && mc.entityRenderer != null) {
|
||||
|
||||
Reference in New Issue
Block a user