Fixed gem amount on master key (#10140)

* Fixed gem amount on master key

* fix(news): update Bailey text
This commit is contained in:
Keith Holliday
2018-03-15 16:19:11 -05:00
committed by Sabe Jones
parent bb6f465ac8
commit 7fe62a731b
4 changed files with 5 additions and 5 deletions

View File

@@ -10,8 +10,8 @@ import pick from 'lodash/pick';
module.exports = function releaseBoth (user, req = {}, analytics) {
let animal;
if (user.balance < 1.5 && !user.achievements.triadBingo) {
throw new NotAuthorized(i18n.t('notEnoughGems', req.language));
if (!user.achievements.triadBingo) {
throw new NotAuthorized(i18n.t('notEnoughPetsMounts', req.language));
}
if (beastMasterProgress(user.items.pets) !== 90 || mountMasterProgress(user.items.mounts) !== 90) {