Merge pull request #258 from roblabla/patch-2

Fix the crash with teams not being cleared
This commit is contained in:
md-5 2013-04-08 16:25:05 -07:00
commit d4f60e65c3

View File

@ -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)