From 568c51a369ee20c506885265ef6cee1f023f3cee Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Sat, 21 Mar 2026 19:13:49 -0400 Subject: [PATCH] Fix regression with updating armor when sources are disabled --- module/data/actor/character.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/data/actor/character.mjs b/module/data/actor/character.mjs index 5a9956a5..55c1c7d8 100644 --- a/module/data/actor/character.mjs +++ b/module/data/actor/character.mjs @@ -470,7 +470,7 @@ export default class DhCharacter extends DhCreature { const increasing = armorChange >= 0; let remainingChange = Math.abs(armorChange); - const orderedSources = getArmorSources(this.parent); + const orderedSources = getArmorSources(this.parent).filter(s => !s.disabled); const handleArmorData = (embeddedUpdates, doc, armorData) => { let usedArmorChange = 0;