mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Added StrangePattern trigger
This commit is contained in:
parent
8881f14153
commit
5c3a2cf060
2 changed files with 8 additions and 2 deletions
|
|
@ -138,7 +138,7 @@ export default class BaseDataItem extends foundry.abstract.TypeDataModel {
|
|||
prepareBaseData() {
|
||||
super.prepareBaseData();
|
||||
|
||||
for (const action of this.actions) {
|
||||
for (const action of this.actions ?? []) {
|
||||
const actionsToRegister = [];
|
||||
for (let i = 0; i < action.triggers.length; i++) {
|
||||
const trigger = action.triggers[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue