diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/torui/coflsky/CoflSky.java | 4 | ||||
-rw-r--r-- | src/main/java/de/torui/coflsky/EventRegistry.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/torui/coflsky/CoflSky.java b/src/main/java/de/torui/coflsky/CoflSky.java index 69cd136..53ffe71 100644 --- a/src/main/java/de/torui/coflsky/CoflSky.java +++ b/src/main/java/de/torui/coflsky/CoflSky.java @@ -44,7 +44,7 @@ public class CoflSky CoflSky.Wrapper = new WSClientWrapper(webSocketURIPrefix); keyBindings = new KeyBinding[] { - new KeyBinding("key.replay_last.onclick", Keyboard.KEY_R, "SkyCofl"), + new KeyBinding("key.replay_last.onclick", Keyboard.KEY_NONE, "SkyCofl"), }; if(event.getSide() == Side.CLIENT) { @@ -53,7 +53,7 @@ public class CoflSky for (int i = 0; i < keyBindings.length; ++i) { - //ClientRegistry.registerKeyBinding(keyBindings[i]); + ClientRegistry.registerKeyBinding(keyBindings[i]); } diff --git a/src/main/java/de/torui/coflsky/EventRegistry.java b/src/main/java/de/torui/coflsky/EventRegistry.java index f47d0a1..c68836f 100644 --- a/src/main/java/de/torui/coflsky/EventRegistry.java +++ b/src/main/java/de/torui/coflsky/EventRegistry.java @@ -54,7 +54,7 @@ public class EventRegistry{ @SideOnly(Side.CLIENT) - //@SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true) + @SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true) public void onEvent(KeyInputEvent event) { if(CoflSky.keyBindings[0].isPressed()) { |