mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Fixed missing fetchSubclass call
This commit is contained in:
parent
f79c7370ed
commit
4fc9ee39b6
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ export default class DHSubclass extends BaseDataItem {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (multiclass.system.subclasses.every(x => x.uuid !== dataUuid)) {
|
if ((await multiclass.system.fetchSubclasses()).every(x => x.uuid !== dataUuid)) {
|
||||||
ui.notifications.error(
|
ui.notifications.error(
|
||||||
game.i18n.localize('DAGGERHEART.UI.Notifications.subclassNotInMulticlass')
|
game.i18n.localize('DAGGERHEART.UI.Notifications.subclassNotInMulticlass')
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue