Added StrangePattern trigger

This commit is contained in:
WBHarry 2026-01-02 22:32:47 +01:00
parent 8881f14153
commit 5c3a2cf060
2 changed files with 8 additions and 2 deletions

View file

@ -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];