diff --git a/src/main/java/net/wurstclient/mixin/MouseMixin.java b/src/main/java/net/wurstclient/mixin/MouseMixin.java index 01db101856..e35876dcdb 100644 --- a/src/main/java/net/wurstclient/mixin/MouseMixin.java +++ b/src/main/java/net/wurstclient/mixin/MouseMixin.java @@ -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);