diff options
Diffstat (limited to 'build/cleaners/skyblock/profile.js')
-rw-r--r-- | build/cleaners/skyblock/profile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/cleaners/skyblock/profile.js b/build/cleaners/skyblock/profile.js index aa5433e..86e21a3 100644 --- a/build/cleaners/skyblock/profile.js +++ b/build/cleaners/skyblock/profile.js @@ -81,6 +81,7 @@ async function fetchMemberProfile(user, profile) { const member = cleanProfile.members.find(m => m.uuid === playerUuid); return { member: { + // the profile name is in member rather than profile since they sometimes differ for each member profileName: cleanProfile.name, first_join: member.first_join, last_save: member.last_save, @@ -91,6 +92,7 @@ async function fetchMemberProfile(user, profile) { uuid: cleanProfile.uuid, bank: cleanProfile.bank, minions: cleanProfile.minions, + minion_count: minions_1.countUniqueMinions(cleanProfile.minions) } }; } |