Fix party rerenders from shields and weapons (#1899)

This commit is contained in:
Carlos Fernandez 2026-05-19 05:11:38 -04:00 committed by GitHub
parent b91d943dd1
commit d152bfc906
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 12 deletions

View file

@ -141,16 +141,6 @@ export default class DHArmor extends AttachableItem {
}
}
_onUpdate(a, b, c) {
super._onUpdate(a, b, c);
if (this.actor?.type === 'character') {
for (const party of this.actor.parties) {
party.render();
}
}
}
/** @inheritDoc */
static migrateDocumentData(source) {
if (!source.system.armor) {