aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthias-luger <58751503+matthias-luger@users.noreply.github.com>2021-10-29 17:38:34 +0200
committerGitHub <noreply@github.com>2021-10-29 17:38:34 +0200
commitd8e1e008d930ed0bfa05e0c0f2280157b4fc1151 (patch)
tree55a51554a4f406f76b370a24066f87cdc1149c33
parent0539c6be8ccad5a8031ea2de3d7cd776201d2135 (diff)
parent8eca0c483e5d45302f410c81c710732affdc57db (diff)
downloadCOFL-d8e1e008d930ed0bfa05e0c0f2280157b4fc1151.tar.gz
COFL-d8e1e008d930ed0bfa05e0c0f2280157b4fc1151.tar.bz2
COFL-d8e1e008d930ed0bfa05e0c0f2280157b4fc1151.zip
Merge pull request #26 from Coflnet/feature/remove-hotkeys
remove hotkey support
-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 a48d48e..69cd136 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()) {