From e9ea3d2f45ca4fafa9d65733a3219336b2abdc31 Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Fri, 14 Jun 2024 10:07:37 +0200 Subject: [PATCH] Fix MouseMixin --- src/main/java/net/wurstclient/mixin/MouseMixin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);