Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Wide-Cat committed Jan 5, 2025
1 parent 291e5a9 commit a550764
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/meteordevelopment/meteorclient/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a550764

Please sign in to comment.