Closed STBaf closed 1 year ago
Seem to be a problem when vision 5e is enabled because the whole id property vanish for canvas.token.children[0].childrin[..].id
Vision 5e adds a element to the canvas.token.children Array on first position, so moving the 0 element to position 1. We need a better way to identify the right Array element on that point instead of relying on "will be always the first, yolo!"
Identification of the appropriate Layer was reworked and tested with v10 and v11, hopefully should work now
Setup
Describe the bug
Additional context User gets error message when moving Token in combat (2 Tokens in one Encounter is enoght