diff --git a/scripts/autoColorRing.js b/scripts/autoColorRing.js index d70b07c..2899f61 100644 --- a/scripts/autoColorRing.js +++ b/scripts/autoColorRing.js @@ -107,7 +107,7 @@ function getColorForHealthLevel(level) { */ function getSetting(token, typeOrColor, ringOrBackground) { const actor = token.actor; - const isParty = game.actors.party.members.some((a) => a.id === actor.id); + const isParty = game.actors.party.members.some((a) => a.id === actor?.id); const type = isParty ? "party" : {