You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melek
changed the title
MapTool.tokens.getTokenByID should be able to check other maps and return null instead of an error when ID isn't found.
JS: MapTool.tokens.getTokenByID should be able to check other maps and return null instead of an error when ID isn't found.
Oct 22, 2021
Describe the bug
MapTool.tokens.getTokenByID has two issues:
I think a null result would be more useful. There may be a way to handle that error that I don't know about. If there is, it isn't obvious to me
To Reproduce
Expected behavior
MapTool Info
Desktop (please complete the following information):
Additional context
Identified by @perkinslr in this Discord discussion.
The text was updated successfully, but these errors were encountered: