0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Update KillauraHack.java

This commit is contained in:
mdenials 2024-05-29 11:10:49 +05:00 committed by GitHub
parent 22cb889d0a
commit 829c47c462
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,9 +150,8 @@ public final class KillauraHack extends Hack
return;
Stream<Entity> stream = EntityUtils.getAttackableEntities();
double rangeSq = range.getValueSq();
stream = stream
.filter(e -> MC.player.squaredDistanceTo(e) <= rangeSq);
double rangeSq = range.getValueSq();
stream = stream.filter(e -> MC.player.squaredDistanceTo(e) <= rangeSq);
if(fov.getValue() < 360.0)
stream = stream.filter(e -> RotationUtils.getAngleToLookVec(