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

[4.0] Custom CONFIG.DND5E.tools additions don't actually make it to the toolIds #4223

Closed
Deyzeria opened this issue Sep 14, 2024 · 0 comments
Assignees
Labels
bug Functionality which is not working as intended
Milestone

Comments

@Deyzeria
Copy link

Deyzeria commented Sep 14, 2024

Updating module to dnd5e 4.0, when you try to use the old way (deprecated)-

CONFIG.DND5E.toolIds.foo = 'module.compendium.bar'

it throws a deprecation warning, however also throws an error and makes it impossible to open any tool item sheet.
image

Adding to the new tool location- works to add to the tools list, however at that points, toolIds is already fully populated and it doesn't add the new tool.

CONFIG.DND5E.tools.foo = {
ability: "int",
id: 'module.compendium.bar',
}

image
image

@Deyzeria Deyzeria changed the title [4.0] New CONFIG.DND5E.tools additions don't actually make it to the toolIds [4.0] Custom CONFIG.DND5E.tools additions don't actually make it to the toolIds Sep 14, 2024
@arbron arbron self-assigned this Sep 16, 2024
@arbron arbron added the bug Functionality which is not working as intended label Sep 16, 2024
@arbron arbron added this to the D&D5E 4.0.1 milestone Sep 16, 2024
@arbron arbron closed this as completed Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Functionality which is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants