From 5179f39403adb90f73714837a54db69e840a47eb Mon Sep 17 00:00:00 2001 From: DoKM Date: Wed, 4 Aug 2021 22:26:49 +0200 Subject: most likely fix the unintended autoclicker --- src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java index 856dcfc6..d5d89dd7 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java @@ -209,6 +209,7 @@ public class NEUEventListener { @SubscribeEvent public void onTick(TickEvent.ClientTickEvent event) { + Keyboard.enableRepeatEvents(false); if(event.phase != TickEvent.Phase.START) return; if(Minecraft.getMinecraft().theWorld == null) return; if(Minecraft.getMinecraft().thePlayer == null) return; -- cgit