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

[ISSUE] DND 5E 3.0.0+ Compatibility (Deprecation Warnings) #46

Open
lipehique opened this issue Feb 14, 2024 · 1 comment
Open

[ISSUE] DND 5E 3.0.0+ Compatibility (Deprecation Warnings) #46

lipehique opened this issue Feb 14, 2024 · 1 comment

Comments

@lipehique
Copy link

Action Pack on DND 5E 3.0.0+ is giving multiple deprecation warnings on token actor selection. Module is working fine, otherwise.

Foundry Version: 11.315
System Version: DND 5E 3.0.1
Module Version: 11.2
Only module enabled is Action Pack

Steps to reproduce: enable action pack, click on actor token on the canvas. Console will show the following error:

Error: The `system.components` property has been deprecated in favor of a standardized `system.properties` property.
Deprecated since Version DnD5e 3.0
Backwards-compatible support will be removed in Version DnD5e 3.2
    at Object.logCompatibilityWarning (commons.js:2059:19)
    at get components [as components] (spell.mjs:171:19)
    at lookupProperty (handlebars.min.js:27:16153)
    at eval (eval at createFunctionContext (handlebars.min.js:29:1808), <anonymous>:20:263)
    at h (handlebars.min.js:27:17870)
    at c (handlebars.min.js:27:6899)
    at Array.<anonymous> (handlebars.min.js:27:7289)
    at Array.c (handlebars.min.js:27:19853)
    at eval (eval at createFunctionContext (handlebars.min.js:29:1808), <anonymous>:11:49)
    at h (handlebars.min.js:27:17870)

Module is working fine otherwise.

@gambit07
Copy link

I added a couple pr's, it's just a few lines to fix

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