mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
fix chatmessage to render the template in constructor. Update namespaces.
This commit is contained in:
parent
4de3e94fd7
commit
cc6c9a11bc
10 changed files with 117 additions and 76 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 === 'feature' && x.system.refreshData?.type) {
|
||||
acc[x.system.refreshData.type].push(x);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue