From e16b0277a20097e020edeaac10bbe6b270547c2f Mon Sep 17 00:00:00 2001 From: Mike Bloy Date: Sat, 23 Sep 2023 11:07:17 -0500 Subject: [PATCH] fix bug in player mutations not applying --- scripts/shim.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/shim.js b/scripts/shim.js index b2d4adc..647ab8c 100644 --- a/scripts/shim.js +++ b/scripts/shim.js @@ -90,7 +90,7 @@ export class shim { } const mutateOptions = { permanent: true, - description: effectDocuments[effectDocuments.length - 1] + description: effectDocuments[effectDocuments.length - 1]?.name } for (const effectDocument of effectDocuments) { mutation.embedded.ActiveEffect[effectDocument.name] = effectDocument