Issue 64 (#67)

* fix pc sheet backend actions
This commit is contained in:
IrkTheImp 2025-05-26 13:31:54 -05:00 committed by GitHub
parent 63274d67ce
commit c306c95e6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 17 additions and 14 deletions

View file

@ -337,7 +337,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);
}