diff --git a/src/main/java/net/wurstclient/hacks/KillauraHack.java b/src/main/java/net/wurstclient/hacks/KillauraHack.java index e030a71487..58c7c24423 100644 --- a/src/main/java/net/wurstclient/hacks/KillauraHack.java +++ b/src/main/java/net/wurstclient/hacks/KillauraHack.java @@ -150,7 +150,7 @@ public void onUpdate() return; Stream stream = EntityUtils.getAttackableEntities(); - double rangeSq = Math.pow(range.getValue(), 2); + double rangeSq = range.getValueSq(); stream = stream.filter(e -> MC.player.squaredDistanceTo(e) <= rangeSq); if(fov.getValue() < 360.0)