diff options
author | Florian Rinke <develop@torui.de> | 2021-10-29 17:02:11 +0200 |
---|---|---|
committer | Florian Rinke <develop@torui.de> | 2021-10-29 17:02:11 +0200 |
commit | 8eca0c483e5d45302f410c81c710732affdc57db (patch) | |
tree | fbf9510411834738812ad2617035af37fb8f76dc | |
parent | 14aad34088a7971b46f0174d3245b480a22daaf9 (diff) | |
download | COFL-8eca0c483e5d45302f410c81c710732affdc57db.tar.gz COFL-8eca0c483e5d45302f410c81c710732affdc57db.tar.bz2 COFL-8eca0c483e5d45302f410c81c710732affdc57db.zip |
remove hotkey support.
Codepaths left in place for perhaps other features.
#25
-rw-r--r-- | src/main/java/de/torui/coflsky/CoflSky.java | 2 | ||||
-rw-r--r-- | src/main/java/de/torui/coflsky/EventRegistry.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/torui/coflsky/CoflSky.java b/src/main/java/de/torui/coflsky/CoflSky.java index 8ec8493..d05e12c 100644 --- a/src/main/java/de/torui/coflsky/CoflSky.java +++ b/src/main/java/de/torui/coflsky/CoflSky.java @@ -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 dbca065..f47d0a1 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()) { |