mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Fixed class check
This commit is contained in:
@@ -509,7 +509,7 @@ export default {
|
|||||||
case 'CRON':
|
case 'CRON':
|
||||||
if (notification.data) {
|
if (notification.data) {
|
||||||
if (notification.data.hp) this.hp(notification.data.hp, 'hp');
|
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;
|
break;
|
||||||
case 'SCORED_TASK':
|
case 'SCORED_TASK':
|
||||||
|
|||||||
Reference in New Issue
Block a user