Relates to MC-124056
The bug
/team join and /team leave tab-complete all entries currently stored in the scoreboard including fake players whose names start with #.
/team leave should only tab-complete the names of players / entities which are in the team (currently not the case unless the scoreboard tracks them as well).
(?) Maybe /team join should tab-complete the names of currently online players.
How to reproduce
Create a scoreboard objective and store a value for a fake player
/scoreboard objectives add test dummy /scoreboard players set #fakePlayer test 1Type the following
/team leave→ ❌ It suggests
#fakePlayer
Comments 5
Because it is blocked by MC-117729.
{{/team leave}} doesn't even have an argument for the team – it just removes things from whatever team they may be on. And fake players are allowed to be on teams, so I don't really see the bug unless I'm misunderstanding something.