mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
pets: fix to beastmaster with new pet system
This commit is contained in:
parent
92a7344a58
commit
64ac920ca7
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ UserSchema.pre('save', function(next) {
|
|||
'Anonymous';
|
||||
}
|
||||
|
||||
if(!this.achievements.beastMaster && this.items.pets.length >= 90){
|
||||
if(!this.achievements.beastMaster && _.size(this.items.pets) >= 90){
|
||||
this.achievements.beastMaster = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue