Fix terra blade bursts ignoring players you can damage

I had this one check wrong
This commit is contained in:
Hubry committed 2020-01-30 19:02:40 +01:00
1 parent ac609c9e82
commit 7cbe19271c
1 file changed
+1 -1
@@ -108,7 +108,7 @@ public class ItemTerraSword extends ItemManasteelSword implements ILensEffect {
for(LivingEntity living : entities) {
if(living == thrower || living instanceof PlayerEntity && thrower instanceof PlayerEntity
&& ((PlayerEntity) thrower).canAttackPlayer(((PlayerEntity) living)))
&& !((PlayerEntity) thrower).canAttackPlayer(((PlayerEntity) living)))
continue;
if(living.hurtTime == 0) {