macros
macros copied to clipboard
rebind_token_actors console error
Hi,
I can use this macro https://github.com/foundry-vtt-community/macros/blob/main/misc/rebind_token_actors.js
I select a unlinked token, I execute the macro.
I got this error :
VM31941:30 Uncaught (in promise) TypeError: token.update is not a function
[No packages detected]
at eval (eval at _executeScript (foundry.js:17014:16), <anonymous>:30:21)
at Macro.eval (eval at _executeScript (foundry.js:17014:16), <anonymous>:33:7)
at Macro._executeScript (foundry.js:17016:10)
at Macro.execute (foundry.js:16973:21)
at MacroConfig._onExecute (foundry.js:49877:17)
eval @ VM31941:30
eval @ VM31941:33
_executeScript @ foundry.js:17016
execute @ foundry.js:16973
_onExecute @ foundry.js:49877
await in _onExecute (async)
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2