aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Rinke <develop@torui.de>2021-10-29 17:02:11 +0200
committerFlorian Rinke <develop@torui.de>2021-10-29 17:02:11 +0200
commit8eca0c483e5d45302f410c81c710732affdc57db (patch)
treefbf9510411834738812ad2617035af37fb8f76dc
parent14aad34088a7971b46f0174d3245b480a22daaf9 (diff)
downloadCOFL-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.java2
-rw-r--r--src/main/java/de/torui/coflsky/EventRegistry.java2
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()) {