Skip to content

Commit

Permalink
Update EntityUtils.java
Browse files Browse the repository at this point in the history
  • Loading branch information
mdenials authored Jan 18, 2024
1 parent ad18fb4 commit d53c945
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/net/wurstclient/util/EntityUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import net.minecraft.entity.decoration.EndCrystalEntity;
import net.minecraft.entity.passive.AnimalEntity;
import net.minecraft.entity.projectile.ShulkerBulletEntity;
import net.minecraft.entity.projectile.FireballEntity;
import net.minecraft.util.math.Box;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Vec3d;
Expand All @@ -39,7 +40,8 @@ public static Stream<Entity> getAttackableEntities()
&& !e.isRemoved()
&& (e instanceof LivingEntity && ((LivingEntity)e).getHealth() > 0
|| e instanceof EndCrystalEntity
|| e instanceof ShulkerBulletEntity)
|| e instanceof ShulkerBulletEntity
|| e instanceof FireballEntity)
&& e != MC.player && !(e instanceof FakePlayerEntity)
&& !WURST.getFriends().isFriend(e);

Expand Down

0 comments on commit d53c945

Please sign in to comment.