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

Cozy Player enabled breaks "Random Mockeries" macro #13

Open
buttonpushertv opened this issue Nov 17, 2020 · 2 comments
Open

Cozy Player enabled breaks "Random Mockeries" macro #13

buttonpushertv opened this issue Nov 17, 2020 · 2 comments

Comments

@buttonpushertv
Copy link

It seems that when the Cozy Player is active, the "Random Mockeries" macro from the Foundry Community Macro Module gets broken. In a world with only these modules:

cozy-player--v1.3.1;
foundry_community_macros--v0.29;
foundry_community_tables--v0.6;
tidy-ui_game-settings--v0.1.21;

And the "Mockeries" table imported, executing the "Random Mockeries" macro (imported from Compendium - with a target selected and Bard PC token selected), this error occurs:

foundry.js:32745 TypeError: Cannot read property '0' of undefined
at viciousMockeries (eval at execute (foundry.js:32742), :20:41)
at eval (eval at execute (foundry.js:32742), :82:1)
at Macro.execute (foundry.js:32742)
at KeyboardManager._onDigit (foundry.js:3104)
at KeyboardManager._handleKeys (foundry.js:2806)
at KeyboardManager._onKeyDown (foundry.js:2760)

If the Cozy Player Module is disabled, the macro will execute properly with no other changes.

@buttonpushertv
Copy link
Author

Oh, this is in FVTT 0.7.7

@psyny
Copy link
Owner

psyny commented Jan 28, 2021

Hello! Thanks for the report! Sorry for the delay, I'll be rewriting and spliting the module for 0.7.x
Hopefully the issue will go away in itself, if not I'll give a closer look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants