mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
Fix the crash with teams not being cleared
You forgot to actually add the team to the list of teams...
This commit is contained in:
parent
3733ecf628
commit
548b2f2c60
@ -67,6 +67,7 @@ public class Scoreboard
|
||||
{
|
||||
Preconditions.checkNotNull( team, "team" );
|
||||
Preconditions.checkArgument( !teams.containsKey( team.getName() ), "Team %s already exists in this scoreboard", team.getName() );
|
||||
teams.put( team.getName(), team );
|
||||
}
|
||||
|
||||
public Team getTeam(String name)
|
||||
|
Loading…
Reference in New Issue
Block a user