Merge branch 'main' into feature/56-Level-Up-Overview

This commit is contained in:
WBHarry 2025-05-27 20:46:19 +02:00
commit ec303df84e
21 changed files with 207 additions and 193 deletions

View file

@ -295,7 +295,7 @@ export default class DhpPC extends foundry.abstract.TypeDataModel {
get refreshableFeatures() {
return this.parent.items.reduce(
(acc, x) => {
if (x.type === 'feature' && x.system.refreshData.type) {
if (x.type === 'feature' && x.system.refreshData?.type) {
acc[x.system.refreshData.type].push(x);
}