diff --git a/src/main/java/meteordevelopment/meteorclient/mixin/MinecraftClientMixin.java b/src/main/java/meteordevelopment/meteorclient/mixin/MinecraftClientMixin.java index c07acd01bc..8e6354f1ba 100644 --- a/src/main/java/meteordevelopment/meteorclient/mixin/MinecraftClientMixin.java +++ b/src/main/java/meteordevelopment/meteorclient/mixin/MinecraftClientMixin.java @@ -189,7 +189,7 @@ private void onRender(CallbackInfo info) { // Interface @Override - public void rightClick() { + public void meteor_client$rightClick() { rightClick = true; } } diff --git a/src/main/java/meteordevelopment/meteorclient/mixininterface/IMinecraftClient.java b/src/main/java/meteordevelopment/meteorclient/mixininterface/IMinecraftClient.java index 0438a29b83..4e74162574 100644 --- a/src/main/java/meteordevelopment/meteorclient/mixininterface/IMinecraftClient.java +++ b/src/main/java/meteordevelopment/meteorclient/mixininterface/IMinecraftClient.java @@ -6,5 +6,5 @@ package meteordevelopment.meteorclient.mixininterface; public interface IMinecraftClient { - void rightClick(); + void meteor_client$rightClick(); } diff --git a/src/main/java/meteordevelopment/meteorclient/utils/Utils.java b/src/main/java/meteordevelopment/meteorclient/utils/Utils.java index 547948bba9..a0d2b70d67 100644 --- a/src/main/java/meteordevelopment/meteorclient/utils/Utils.java +++ b/src/main/java/meteordevelopment/meteorclient/utils/Utils.java @@ -519,7 +519,7 @@ public static void leftClick() { } public static void rightClick() { - ((IMinecraftClient) mc).rightClick(); + ((IMinecraftClient) mc).meteor_client$rightClick(); } public static boolean isShulker(Item item) {