mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-30 15:13:10 -04:00
ServerFirsts now award a badge
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user