Skip to content

Commit c9d62c9

Browse files
committed
fix slot clicking
1 parent b1e8013 commit c9d62c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/cleanroommc/modularui/screen/ClientScreenHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public static void clickSlot(ModularScreen ms, Slot slot) {
279279
acc.setButtonList(Collections.emptyList());
280280
// set clicked slot to make sure the container clicks the desired slot
281281
clickableGuiContainer.modularUI$setClickedSlot(slot);
282-
acc.invokeMouseClicked(ctx.getAbsMouseX(), ctx.getMouseY(), ctx.getMouseButton());
282+
acc.invokeMouseClicked(ctx.getAbsMouseX(), ctx.getAbsMouseY(), ctx.getMouseButton());
283283
} catch (IOException e) {
284284
throw new RuntimeException(e);
285285
} finally {

0 commit comments

Comments
 (0)