From 11d47055392ced035cf01bc9f22d497047f27be2 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Thu, 15 Jan 2026 15:05:04 +0100 Subject: [PATCH] . --- module/data/action/baseAction.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/data/action/baseAction.mjs b/module/data/action/baseAction.mjs index 2110e316..80479970 100644 --- a/module/data/action/baseAction.mjs +++ b/module/data/action/baseAction.mjs @@ -276,7 +276,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel if (actor) return Array.from(await actor.allApplicableEffects()).filter(effect => { /* Effects on weapons only ever apply for the weapon itself */ - if (effect.parent.type === 'weapon' && effectparent?.id !== effect.parent.id) return false; + if (effect.parent.type === 'weapon' && effectParent?.id !== effect.parent.id) return false; return !effect.isSuppressed; });