fix bug in player mutations not applying

This commit is contained in:
Mike Bloy 2023-09-23 11:07:17 -05:00
parent 46ddf41cc0
commit 91d8e0a683

View File

@ -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