aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/de/torui/coflsky/CoflSky.java4
-rw-r--r--src/main/java/de/torui/coflsky/EventRegistry.java2
-rw-r--r--src/main/resources/assets/coflsky/lang/en_US.lang2
3 files changed, 4 insertions, 4 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()) {
diff --git a/src/main/resources/assets/coflsky/lang/en_US.lang b/src/main/resources/assets/coflsky/lang/en_US.lang
index eb7ebad..404927d 100644
--- a/src/main/resources/assets/coflsky/lang/en_US.lang
+++ b/src/main/resources/assets/coflsky/lang/en_US.lang
@@ -1,2 +1,2 @@
key.coflskycategory.name=Coflnet Skyblock
-key.replay_last.onclick=Activate last Coflnet message \ No newline at end of file
+key.replay_last.onclick=Activate last Coflnet message [BANNABLE] \ No newline at end of file