From 11ce88787e4b7ad880685260d73b786b595b6800 Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Thu, 10 Oct 2024 15:23:52 +0200 Subject: [PATCH] fix(1.21.2): Fix broken MouseHandler mixin --- .../main/java/net/blay09/mods/balm/mixin/MouseHandlerMixin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric/src/main/java/net/blay09/mods/balm/mixin/MouseHandlerMixin.java b/fabric/src/main/java/net/blay09/mods/balm/mixin/MouseHandlerMixin.java index 4f7ed523..3ee10e1c 100644 --- a/fabric/src/main/java/net/blay09/mods/balm/mixin/MouseHandlerMixin.java +++ b/fabric/src/main/java/net/blay09/mods/balm/mixin/MouseHandlerMixin.java @@ -20,7 +20,7 @@ public boolean mouseDragged(Screen screen, double mouseX, double mouseY, int act return true; } - final var result = operation.call(screen, mouseX, mouseY, dragX, dragY); + final var result = operation.call(screen, mouseX, mouseY, activeButton, dragX, dragY); ScreenMouseEvent.Drag.Post postEvent = new ScreenMouseEvent.Drag.Post(screen, mouseX, mouseY, activeButton, dragX, dragY); Balm.getEvents().fireEvent(postEvent); return result;