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-22 19:36:26 +05:00 committed by GitHub
parent 6a4a5b1e8a
commit 5907bf69c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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