From cd127e92dfd9657977b180678dbe76306a3e917f Mon Sep 17 00:00:00 2001 From: Torui <44932079+ToruiDev@users.noreply.github.com> Date: Sat, 26 Mar 2022 22:41:10 +0100 Subject: Revert "Trial/mouse buttons (#52)" This reverts commit 507b9c2768ed6dafff82460fbe743a48f6fa631a. --- src/main/java/de/torui/coflsky/handlers/EventRegistry.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') 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; @@ -59,12 +58,6 @@ public class EventRegistry { public long LastClick = System.currentTimeMillis(); - @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) { -- cgit