The client handles the server sending the same score multiple times to overwrite the previous entry.

This commit is contained in:
Jacobi Carter 2013-05-14 18:52:12 +10:00 committed by md_5
parent b25c81daf3
commit 539fccb873

View File

@ -59,7 +59,6 @@ public class Scoreboard
public void addScore(Score score) public void addScore(Score score)
{ {
Preconditions.checkNotNull( score, "score" ); Preconditions.checkNotNull( score, "score" );
Preconditions.checkArgument( !scores.containsKey( score.getItemName() ), "Score %s already exists in this scoreboard", score.getItemName() );
scores.put( score.getItemName(), score ); scores.put( score.getItemName(), score );
} }