mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12: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;
|
return;
|
||||||
|
|
||||||
Stream<Entity> stream = EntityUtils.getAttackableEntities();
|
Stream<Entity> stream = EntityUtils.getAttackableEntities();
|
||||||
|
double rangeSq = range.getValueSq();
|
||||||
stream = stream
|
stream = stream
|
||||||
.filter(e -> MC.player.squaredDistanceTo(e) <= range.getValueSq());
|
.filter(e -> MC.player.squaredDistanceTo(e) <= rangeSq);
|
||||||
|
|
||||||
if(fov.getValue() < 360.0)
|
if(fov.getValue() < 360.0)
|
||||||
stream = stream.filter(e -> RotationUtils.getAngleToLookVec(
|
stream = stream.filter(e -> RotationUtils.getAngleToLookVec(
|
||||||
|
Loading…
Reference in New Issue
Block a user