From a5507648bdb7e68e8415c57443be46c3a456742e Mon Sep 17 00:00:00 2001 From: Wide_Cat Date: Sun, 5 Jan 2025 14:51:18 +0000 Subject: [PATCH] comments --- src/main/java/meteordevelopment/meteorclient/utils/Utils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/meteordevelopment/meteorclient/utils/Utils.java b/src/main/java/meteordevelopment/meteorclient/utils/Utils.java index 75b02163c9..7f89df6273 100644 --- a/src/main/java/meteordevelopment/meteorclient/utils/Utils.java +++ b/src/main/java/meteordevelopment/meteorclient/utils/Utils.java @@ -515,6 +515,8 @@ public static double random(double min, double max) { public static void leftClick() { // check if a screen is open + // see net.minecraft.client.Mouse.lockCursor + // see net.minecraft.client.MinecraftClient.tick int attackCooldown = ((MinecraftClientAccessor) mc).getAttackCooldown(); if (attackCooldown == 10000) { ((MinecraftClientAccessor) mc).setAttackCooldown(0);