From 6e3ad66bbbce3b0e112d40185fc8b31f36ce955b Mon Sep 17 00:00:00 2001 From: nsalyzyn Date: Wed, 17 Dec 2025 19:19:38 -0700 Subject: [PATCH] Switching to using clone in getRollData rather than an Object to avoid errors --- module/documents/actor.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/documents/actor.mjs b/module/documents/actor.mjs index dd68acc3..35ab5cc6 100644 --- a/module/documents/actor.mjs +++ b/module/documents/actor.mjs @@ -526,7 +526,7 @@ export default class DhpActor extends Actor { /**@inheritdoc */ getRollData() { - const rollData = { ...super.getRollData() }; + const rollData = super.getRollData().clone(); rollData.name = this.name; rollData.system = this.system.getRollData(); rollData.prof = this.system.proficiency ?? 1;