mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
fix pc sheet backend actions
This commit is contained in:
parent
cf51153432
commit
937c3fa6c6
7 changed files with 20 additions and 14 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue