Open kaelad02 opened 1 month ago
concentration.actor?.isOwner
seems to evaluate as "undefined" as "actor" does not exist on the "concentration" object.
isOwner does exist on concentration.parent
however, which also seems to be the actor. Changing it to concentration.parent?.isOwner
seems to fix the issue
Unsure if "actor" is just missing or the intended implementation was "parent", but that does appear to fix the issue.
There seems to be an issue for regular players (i.e. non-GMs) when you enchant your own item from a spell w/ concentration on it. Instead of enchanting the item you get an error message at the top of the screen saying, "Applying an effect that is being concentrated on by another character requires GM permissions."
Steps to Reproduce (as a player)
I'm pretty sure the error is thrown from the
EnchantmentApplicationElement#_onDrop
function. I tested this with dnd5e version 3.3.1.