Sweep attack doesn't affect entities on same team even with friendlyFire on
The bug
When using the sweep attack with the sword, entities on the same scoreboard team as the player cannot be hit with the sweep attack whether the team has friendlyFire allowed or not.
Steps to reproduce:
- /team add foobar
- /team modify foobar friendlyFire true
- /summon minecraft:pig ~1 ~ ~ {NoAI:1}
- /summon minecraft:pig ~1 ~ ~1 {NoAI:1,Team:"foobar"}
- /team join foobar @s
- Hit the closest summoned pig with a sword
→ The second pig won't be damaged
2017-03-02, 06:22 PM
2024-05-11, 11:16 PM
14
9
-