From 9c75933ae43c925415ff6ba166059ea06feeb56a Mon Sep 17 00:00:00 2001 From: DAM <43420467+DAMcraft@users.noreply.github.com> Date: Sun, 29 Oct 2023 21:14:52 +0100 Subject: [PATCH] i guess it looks better like this --- .../meteorclient/systems/modules/combat/HoleFiller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ||