From 737a0b03ad790f15216b09f54bf79132ce0b9bc7 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Thu, 16 Jul 2026 11:49:24 +0200 Subject: [PATCH 1/2] . --- module/data/chat-message/chatDamageData.mjs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/data/chat-message/chatDamageData.mjs b/module/data/chat-message/chatDamageData.mjs index 3c4c6b95..7217cce5 100644 --- a/module/data/chat-message/chatDamageData.mjs +++ b/module/data/chat-message/chatDamageData.mjs @@ -25,9 +25,8 @@ export class ChatDamageData extends foundry.abstract.DataModel { for (const key of Object.keys(this.types)) { const type = this.types[key]; try { - const roll = Roll.fromData(type.roll); - type.roll = roll; - type.roll.modifierTotal = CONFIG.Dice.daggerheart.DHRoll.calculateTotalModifiers(roll); + type.roll = Roll.fromData(type.roll); + type.roll.modifierTotal = CONFIG.Dice.daggerheart.DHRoll.calculateTotalModifiers(type.roll); } catch {} } } From f1599bf5663b87e900f0403a357c2719576cd686 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Thu, 16 Jul 2026 15:03:40 +0200 Subject: [PATCH 2/2] Improved migration --- module/systemRegistration/migration-handlers/2_6_0.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/systemRegistration/migration-handlers/2_6_0.mjs b/module/systemRegistration/migration-handlers/2_6_0.mjs index 1efd5600..9edda9a2 100644 --- a/module/systemRegistration/migration-handlers/2_6_0.mjs +++ b/module/systemRegistration/migration-handlers/2_6_0.mjs @@ -5,7 +5,7 @@ export class Migration_2_6_0 extends MigrationHandlerBase { /** @inheritdoc */ async updateActorSource(actor) { - if (actor.type === 'party') { + if (actor.type === 'party' && Object.keys(actor.system.tagTeam.members).length) { return { _id: actor._id, system: {