22w18a, 1.19 Pre-release 1
Bug: Warden applies Darkness effect to player teammates that are in their own team.
Expected Behavior: The Warden's darkness effect should not apply to player teammates in their own team.
Steps to Reproduce:
1.) Have cheats enabled and create (with gamemode creative) or open any normal or flat-world. Switch to gamemode creative, if not already, by typing "/gamemode creative" command in chat.
2.) Create a team by entering "/team add TEMP" command in chat.
3.) Join team "TEMP" by entering "/team join TEMP" command in chat.
4.) Summon a single Warden by entering "/summon warden" command in chat.
5.) Make the Warden join team "TEMP" by entering "/team join EM1 @e[type=warden,sort=nearest,limit=1]" command in chat.
6.) Go into survival mode by entering "/gamemode survival" command in chat. Wait a moment. Then, notice how when being in near proximity of the Warden it will still afflict the Darkness effect on you. This should not be the case, as you and the Warden are in the same scoreboard team "TEMP".