Skip to content

Commit 46c6b99

Browse files
committed
Itemhandler Popup Fix
1 parent 3442f63 commit 46c6b99

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/java/net/wurstclient/hacks/itemhandler/ItemHandlerHud.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,11 @@ class MergeEntry
194194
Window window = MC.getWindow();
195195
boolean leftDown = GLFW.glfwGetMouseButton(window.handle(),
196196
GLFW.GLFW_MOUSE_BUTTON_LEFT) == GLFW.GLFW_PRESS;
197-
if(overList && leftDown && !lastLeftDown)
198-
hack.openScreen();
197+
// Do not open the ItemHandler GUI from the popup via mouse clicks.
198+
// This avoids the popup behind other full-screen GUIs triggering
199+
// the ItemHandler screen when clicking in overlapping areas.
200+
// (Opening the ItemHandler GUI is available via the dedicated
201+
// settings button or a keybind/command.)
199202
lastLeftDown = leftDown;
200203
}
201204

0 commit comments

Comments
 (0)