diff options
author | DoKM <mcazzyman@gmail.com> | 2021-08-04 22:26:49 +0200 |
---|---|---|
committer | DoKM <mcazzyman@gmail.com> | 2021-08-04 22:26:49 +0200 |
commit | 5179f39403adb90f73714837a54db69e840a47eb (patch) | |
tree | 0e6421ad4ab06f7d8c7e88e820c4aaeeb8d2cab7 /src/main/java/io | |
parent | 9370c7ce7b28ab766a3e4d6c97478456b251d9cf (diff) | |
download | NotEnoughUpdates-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.java | 1 |
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; |