diff options
author | Torui <44932079+ToruiDev@users.noreply.github.com> | 2022-03-26 22:41:10 +0100 |
---|---|---|
committer | HackedOS <63157139+HackedOS@users.noreply.github.com> | 2022-06-04 17:11:17 +0530 |
commit | cd127e92dfd9657977b180678dbe76306a3e917f (patch) | |
tree | cfc06491c6d516917119f8f36308fdab513525e4 | |
parent | d9180e72b1ce876a5470ef3118e54f8c1771568d (diff) | |
download | COFL-cd127e92dfd9657977b180678dbe76306a3e917f.tar.gz COFL-cd127e92dfd9657977b180678dbe76306a3e917f.tar.bz2 COFL-cd127e92dfd9657977b180678dbe76306a3e917f.zip |
Revert "Trial/mouse buttons (#52)"
This reverts commit 507b9c2768ed6dafff82460fbe743a48f6fa631a.
-rw-r--r-- | src/main/java/de/torui/coflsky/handlers/EventRegistry.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/de/torui/coflsky/handlers/EventRegistry.java b/src/main/java/de/torui/coflsky/handlers/EventRegistry.java index d2b8113..81411f4 100644 --- a/src/main/java/de/torui/coflsky/handlers/EventRegistry.java +++ b/src/main/java/de/torui/coflsky/handlers/EventRegistry.java @@ -34,7 +34,6 @@ import net.minecraftforge.event.entity.player.ItemTooltipEvent; import net.minecraftforge.fml.common.eventhandler.EventPriority; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.common.gameevent.InputEvent.KeyInputEvent; -import net.minecraftforge.fml.common.gameevent.InputEvent.MouseInputEvent; import net.minecraftforge.fml.common.network.FMLNetworkEvent.ClientDisconnectionFromServerEvent; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; @@ -61,12 +60,6 @@ public class EventRegistry { @SideOnly(Side.CLIENT) @SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true) - public void onMouseEvent(MouseInputEvent event) { - onEvent(null); - } - - @SideOnly(Side.CLIENT) - @SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true) public void onEvent(KeyInputEvent event) { if (CoflSky.keyBindings[0].isPressed()) { |