Skip to content

Commit

Permalink
fix(1.21.2): Fix broken MouseHandler mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
BlayTheNinth committed Oct 10, 2024
1 parent fecdef5 commit 11ce887
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 11ce887

Please sign in to comment.