Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rebind_token_actors console error #331

Open
CaosFR opened this issue Sep 23, 2022 · 0 comments
Open

rebind_token_actors console error #331

CaosFR opened this issue Sep 23, 2022 · 0 comments
Labels
broken macro bug Something isn't working help wanted Extra attention is needed

Comments

@CaosFR
Copy link

CaosFR commented Sep 23, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
broken macro bug Something isn't working help wanted Extra attention is needed
Projects
No open projects
Development

No branches or pull requests

2 participants