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

Fixed ammoRange related errors #1841

Closed
wants to merge 1 commit into from

Conversation

Forien
Copy link
Contributor

@Forien Forien commented Dec 10, 2023

This Pull Request fixes ammoRange typo (it has never been declared and I believe by analyzing the code it should be ammoValue.

Additionally I've added graceful fallback in a form of extra try…catch wrapper in order to not block opening Actor Sheet, while still providing obvious Error for the users to know that something went wrong.

Issue could be encountered when using worded modifiers that were not properly translated (for example item said come arma in Italian, but client was set to English), or when using multipliers like *5 or /5 as ammo range.

Should be fully compatible with #1694 Pull Request.

@Forien
Copy link
Contributor Author

Forien commented Dec 14, 2023

Merged in as #1849 into effect-refactor branch

@Forien Forien closed this Dec 14, 2023
@Forien Forien deleted the fix-ammo-range-translation-bug branch January 2, 2024 10:52
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.

1 participant