From f1ce88fb8e98b41a10ba374d32cb312b949ba8ef Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Thu, 26 Jan 2023 05:38:57 +1100 Subject: Fixed double register of view uses or recipes (#552) * Fixed double register of view uses or recipes * ! --- src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java index 7159ef89..cb0f3fc0 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUOverlay.java @@ -1046,7 +1046,7 @@ public class NEUOverlay extends Gui { } } - if (Keyboard.getEventKeyState()) { + if (!Keyboard.getEventKeyState()) { if (!NotEnoughUpdates.INSTANCE.config.toolbar.searchBar) { searchBarHasFocus = false; } -- cgit