aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBuildTools <james.jenour@protonmail.com>2021-07-23 02:46:26 +0800
committerBuildTools <james.jenour@protonmail.com>2021-07-23 02:46:26 +0800
commitc28ed540b25d60f5ee2bb886b8c03f3bff351fa8 (patch)
treebdf4de9347c03f89274753fc21e5803670477084
parent9814220f8a621f4c310c5f38c57c6bcab358c707 (diff)
downloadNotEnoughUpdates-c28ed540b25d60f5ee2bb886b8c03f3bff351fa8.tar.gz
NotEnoughUpdates-c28ed540b25d60f5ee2bb886b8c03f3bff351fa8.tar.bz2
NotEnoughUpdates-c28ed540b25d60f5ee2bb886b8c03f3bff351fa8.zip
PRE30.1
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
index 224953c9..cb1b46e1 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/StorageOverlay.java
@@ -1446,7 +1446,7 @@ public class StorageOverlay extends GuiElement {
int dWheel = Mouse.getEventDWheel();
if(!(NotEnoughUpdates.INSTANCE.config.storageGUI.cancelScrollKey != 0 &&
- Keyboard.isKeyDown(NotEnoughUpdates.INSTANCE.config.storageGUI.cancelScrollKey)) && dWheel != 0) {
+ KeybindHelper.isKeyDown(NotEnoughUpdates.INSTANCE.config.storageGUI.cancelScrollKey)) && dWheel != 0) {
if(dWheel < 0) {
dWheel = -1;
if(scrollVelocity > 0) scrollVelocity = 0;