Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
Fix MouseMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jun 14, 2024
1 parent 7a2d848 commit e9ea3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/wurstclient/mixin/MouseMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ private void onOnMouseScroll(long window, double horizontal,
EventManager.fire(new MouseScrollEvent(vertical));
}

@Inject(at = @At("HEAD"), method = "tick()V")
private void onTick(CallbackInfo ci)
@Inject(at = @At("HEAD"), method = "updateMouse()V")
private void onUpdateMouse(CallbackInfo ci)
{
MouseUpdateEvent event =
new MouseUpdateEvent(cursorDeltaX, cursorDeltaY);
Expand Down

0 comments on commit e9ea3d2

Please sign in to comment.