Tablist breaks when teams are removed
Descrizione
When a scoreboard team is unregistered, it will not be reflected in the LabyMod player list.
Some steps to reproduce (1.8.9):
/scoreboard teams add test/scoreboard teams option test color red/scoreboard teams join test(player name is now red on tablist)/scoreboard teams remove test- Notice that player name is still red on tablist
This is due to LabyMod's Minecraft scoreboard mixin only handling players being removed from a team. But players will also leave their team when the team itself is unregistered in Scoreboard#removeTeam. When this happens, the player list renderer will still show the old team colors and it will keep the list sorted based on the old teams.
Operating System: Linux
\LabyMod Version: 4.3.36
\Minecraft Version: 1.8.9
\