mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-07 03:15:58 +00:00
Fixed class check
This commit is contained in:
parent
9725da258e
commit
2009bb97cb
1 changed files with 1 additions and 1 deletions
|
|
@ -509,7 +509,7 @@ export default {
|
|||
case 'CRON':
|
||||
if (notification.data) {
|
||||
if (notification.data.hp) this.hp(notification.data.hp, 'hp');
|
||||
if (notification.data.mp && !this.userHasClass) this.mp(notification.data.mp);
|
||||
if (notification.data.mp && this.userHasClass) this.mp(notification.data.mp);
|
||||
}
|
||||
break;
|
||||
case 'SCORED_TASK':
|
||||
|
|
|
|||
Loading…
Reference in a new issue