Revert "Fixed missing fetchSubclass call"

This reverts commit 4fc9ee39b6.
This commit is contained in:
WBHarry 2026-05-20 22:11:26 +02:00
parent 4fc9ee39b6
commit 3f595eb529

View file

@ -68,7 +68,7 @@ export default class DHSubclass extends BaseDataItem {
return false;
}
if ((await multiclass.system.fetchSubclasses()).every(x => x.uuid !== dataUuid)) {
if (multiclass.system.subclasses.every(x => x.uuid !== dataUuid)) {
ui.notifications.error(
game.i18n.localize('DAGGERHEART.UI.Notifications.subclassNotInMulticlass')
);