fix buying animal gear
This commit is contained in:
@@ -102,7 +102,7 @@ export default async function purchase (user, req = {}, analytics) {
|
||||
if (!matchers.match(item.key)) {
|
||||
throw new NotAuthorized(i18n.t('messageNotAvailable', req.language));
|
||||
}
|
||||
} else if (item.klass === 'special') {
|
||||
} else if (item.klass === 'special' && item.gearSet !== 'animal') {
|
||||
const matchers = getScheduleMatchingGroup('seasonalGear');
|
||||
if (!matchers.match(item.set)) {
|
||||
throw new NotAuthorized(i18n.t('messageNotAvailable', req.language));
|
||||
|
||||
Reference in New Issue
Block a user