Skip to content

Commit

Permalink
chore: update EntityArcaneBarrier
Browse files Browse the repository at this point in the history
  • Loading branch information
WinDanesz authored Sep 19, 2022
1 parent 66cdb37 commit 347f25e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void onUpdate() {

targets.remove(this);

targets.removeIf(t -> !(t instanceof (EntityLivingBase)) || t instanceof EntityArmorStand || AllyDesignationSystem.isAllied((EntityLivingBase) t, getCaster()) || t instanceof EntityMagicConstruct || t instanceof EntityXPOrb || t instanceof EntityAnimal || t instanceof EntityMagicArrow && !this.isValidTarget(((EntityMagicArrow) t).getCaster())
targets.removeIf(t -> !(t instanceof EntityLivingBase) || t instanceof EntityArmorStand || t instanceof EntityLivingBase && AllyDesignationSystem.isAllied((EntityLivingBase) t, getCaster()) || t instanceof EntityMagicConstruct || t instanceof EntityXPOrb || t instanceof EntityAnimal || t instanceof EntityMagicArrow && !this.isValidTarget(((EntityMagicArrow) t).getCaster())
|| t instanceof EntityThrowable && !this.isValidTarget(((EntityThrowable) t).getThrower())
|| t instanceof EntityArrow && !this.isValidTarget(((EntityArrow) t).shootingEntity));

Expand Down

0 comments on commit 347f25e

Please sign in to comment.