totalCount & totalPoints should be numbers

This commit is contained in:
Bryan Ashby 2019-01-26 12:57:07 -07:00
parent 207711f1d1
commit bec497b209
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ exports.getModule = class UserAchievementsEarned extends MenuModule {
realName : this.client.user.getProperty(UserProps.RealName),
location : this.client.user.getProperty(UserProps.Location),
affils : this.client.user.getProperty(UserProps.Affiliations),
totalCount : this.client.user.getProperty(UserProps.AchievementTotalCount),
totalPoints : this.client.user.getProperty(UserProps.AchievementTotalPoints),
totalCount : this.client.user.getPropertyAsNumber(UserProps.AchievementTotalCount),
totalPoints : this.client.user.getPropertyAsNumber(UserProps.AchievementTotalPoints),
};
}