mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 10:55:17 +00:00
Fix terra blade bursts ignoring players you can damage
I had this one check wrong
This commit is contained in:
1 parent
ac609c9e82
commit
7cbe19271c
1 file changed
+1
-1
+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) {
|
||||
|
||||
Reference in new issue
Block a user