ServerFirsts now award a badge

This commit is contained in:
Treeku
2013-12-15 08:53:50 +00:00
parent 0c93b74f1e
commit fac5422198
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -270,11 +270,14 @@ public class GuildObject extends UniverseObject implements IPersistent {
}
}
public void addServerFirst(String collectionName, ServerFirst player) {
public boolean addServerFirst(String collectionName, ServerFirst player) {
synchronized(objectMutex) {
if (!serverFirst.containsKey(collectionName)) {
serverFirst.put(collectionName, player);
return true;
}
return false;
}
}