diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/HoleFiller.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/HoleFiller.java index 0a0fab02ff..1a8e92bbc2 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/HoleFiller.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/combat/HoleFiller.java @@ -343,7 +343,7 @@ private void setTargets() { targets.clear(); for (PlayerEntity player : mc.world.getPlayers()) { - if (player.squaredDistanceTo(mc.player) > targetRange.get() * targetRange.get() || + if (player.squaredDistanceTo(mc.player) > Math.pow(targetRange.get(), 2) || player.isCreative() || player == mc.player || player.isDead() ||