Remove unnecessary calls to LWJGL Keyboard functions in KeyInputHandler
This commit is contained in:
@@ -27,10 +27,6 @@ public class KeyInputHandler {
|
|||||||
public void onKeyInput() throws Exception {
|
public void onKeyInput() throws Exception {
|
||||||
if(!ReplayHandler.isInReplay()) return;
|
if(!ReplayHandler.isInReplay()) return;
|
||||||
|
|
||||||
if(!Keyboard.isCreated()) Keyboard.create();
|
|
||||||
|
|
||||||
Keyboard.poll();
|
|
||||||
|
|
||||||
KeyBinding[] keyBindings = Minecraft.getMinecraft().gameSettings.keyBindings;
|
KeyBinding[] keyBindings = Minecraft.getMinecraft().gameSettings.keyBindings;
|
||||||
|
|
||||||
boolean speedup = false;
|
boolean speedup = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user