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

Bugfix for ammo bug (issue #377) #378

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zakkon
Copy link

@Zakkon Zakkon commented May 1, 2022

It seems the Dnd5e system (version 1.6.0) broke the BetterRolls5e v1.7.2 ability for weapons to draw ammo when it has an ammo source set. Instead it throws an error.
The issue is, BetterRolls5e assumes an object called 'ammoUpdate' to contain the ammo source data it needs.
As of Dnd5e v1.6.0, it appears 'ammoUpdate' now is an array containing the actual data BetterRolls5e needs.

It seems the Dnd5e system (version 1.6.0) broke the BetterRolls5e v1.7.2 ability for weapons to draw ammo when it has an ammo source set. Instead it throws an error.
The issue is, BetterRolls5e assumes an object called 'ammoUpdate' to contain the ammo source data it needs.
As of Dnd5e v1.6.0, it appears 'ammoUpdate' now is an array containing the actual data BetterRolls5e needs.
@Zakkon Zakkon changed the title Bugfix for ammo bug Bugfix for ammo bug (issue #377) May 1, 2022
@Zakkon Zakkon mentioned this pull request May 1, 2022
@cs96and
Copy link
Contributor

cs96and commented May 15, 2022

I've submitted a separate pull request (#382) which I think is slightly more correct than this one, as it correctly calls updateEmbeddedDocuments with the array.

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

Successfully merging this pull request may close these issues.

2 participants