Fixed scores duplicates
This commit is contained in:
		@@ -31,6 +31,7 @@ public class FirstWinsScore extends Score {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public void addResult(Player p) {
 | 
					    public void addResult(Player p) {
 | 
				
			||||||
 | 
					        if(scores.contains(p)) return;
 | 
				
			||||||
        scores.add(p);
 | 
					        scores.add(p);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        new TitleMessage(Duration.ofMillis(1000), Duration.ofSeconds(1)).appendTranslated("score#finish").send(p);
 | 
					        new TitleMessage(Duration.ofMillis(1000), Duration.ofSeconds(1)).appendTranslated("score#finish").send(p);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user