Added Server Firsts packet

This commit is contained in:
Waverunner
2014-03-15 11:48:59 -04:00
parent 9851afe003
commit a907f479a9
4 changed files with 107 additions and 4 deletions
@@ -142,7 +142,7 @@ public class CollectionService implements INetworkDispatch {
int bits = 0;
boolean noScriptOnModify = false;
boolean clearOnComplete = false;
boolean noMessage = true;
boolean noMessage = false;
boolean grantIfPreReqMet = true;
boolean buddyCollection = false;
int numAltTitles = 0;
@@ -359,7 +359,7 @@ public class CollectionService implements INetworkDispatch {
}
if (trackServerFirst) {
if (core.guildService.getGuildObject().addServerFirst(collectionName, new ServerFirst(creature.getCustomName(), System.currentTimeMillis()))) {
if (core.guildService.getGuildObject().addServerFirst(collectionName, new ServerFirst(creature.getCustomName(), creature.getObjectId(), collectionName, System.currentTimeMillis()))) {
addCollection(creature, "bdg_server_first_01");
}
}