Closed kagedansa closed 1 year ago
Module Version: v2.2.5
The function in use with "useOwnedTokenIfNoTokenIsSelected" that identifies the character assigned to a player and its token currently does nothing.
This is due a change of the datamodel in V10 again (sorry is missed that until today)
In ArmsReachHelper.js change in Line 216
token = (canvas.tokens?.placeables.find((token) => token.document.id === game.user?.character?.id));
to
token = (canvas.tokens?.placeables.find((token) => token.document.actorId === game.user?.character?.id));
Ty for the hard work. Should be fixed with version 2.2.6
Works for me. Thank you!
Module Version: v2.2.5
The function in use with "useOwnedTokenIfNoTokenIsSelected" that identifies the character assigned to a player and its token currently does nothing.
This is due a change of the datamodel in V10 again (sorry is missed that until today)
In ArmsReachHelper.js change in Line 216
token = (canvas.tokens?.placeables.find((token) => token.document.id === game.user?.character?.id));
to
token = (canvas.tokens?.placeables.find((token) => token.document.actorId === game.user?.character?.id));