aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorDoKM <mcazzyman@gmail.com>2021-08-04 22:26:49 +0200
committerDoKM <mcazzyman@gmail.com>2021-08-04 22:26:49 +0200
commit5179f39403adb90f73714837a54db69e840a47eb (patch)
tree0e6421ad4ab06f7d8c7e88e820c4aaeeb8d2cab7 /src/main/java/io
parent9370c7ce7b28ab766a3e4d6c97478456b251d9cf (diff)
downloadNotEnoughUpdates-5179f39403adb90f73714837a54db69e840a47eb.tar.gz
NotEnoughUpdates-5179f39403adb90f73714837a54db69e840a47eb.tar.bz2
NotEnoughUpdates-5179f39403adb90f73714837a54db69e840a47eb.zip
most likely fix the unintended autoclicker
Diffstat (limited to 'src/main/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUEventListener.java1
1 files changed, 1 insertions, 0 deletions
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;