fix bug in player mutations not applying

This commit is contained in:
Mike Bloy 2023-09-23 11:07:17 -05:00 committed by Mike Bloy
parent 8bc6f4c3dc
commit e16b0277a2

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