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:
parent
5907bf69c3
commit
e95027f8dd
@ -150,8 +150,9 @@ public final class KillauraHack extends Hack
|
||||
return;
|
||||
|
||||
Stream<Entity> stream = EntityUtils.getAttackableEntities();
|
||||
double rangeSq = range.getValueSq();
|
||||
stream = stream
|
||||
.filter(e -> MC.player.squaredDistanceTo(e) <= range.getValueSq());
|
||||
.filter(e -> MC.player.squaredDistanceTo(e) <= rangeSq);
|
||||
|
||||
if(fov.getValue() < 360.0)
|
||||
stream = stream.filter(e -> RotationUtils.getAngleToLookVec(
|
||||
|
Loading…
Reference in New Issue
Block a user