From 20b4c9b7bd4fae0f72b2b4d527e42b51f4e0ef59 Mon Sep 17 00:00:00 2001 From: johni0702 Date: Thu, 4 Jun 2015 14:50:17 +0200 Subject: [PATCH] Only handle key inputs during replay --- .../java/eu/crushedpixel/replaymod/events/KeyInputHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/eu/crushedpixel/replaymod/events/KeyInputHandler.java b/src/main/java/eu/crushedpixel/replaymod/events/KeyInputHandler.java index 7e6d6a56..58f40b8c 100755 --- a/src/main/java/eu/crushedpixel/replaymod/events/KeyInputHandler.java +++ b/src/main/java/eu/crushedpixel/replaymod/events/KeyInputHandler.java @@ -96,6 +96,8 @@ public class KeyInputHandler { @SubscribeEvent public void keyInput(InputEvent.KeyInputEvent event) { + if (!ReplayHandler.isInReplay()) return; + try { onKeyInput(); } catch(Exception e) {