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

Fix: Blast resistance float values #122

Merged
merged 1 commit into from
Apr 25, 2024
Merged

Conversation

DerToaster98
Copy link
Contributor

Fixes floating point values (e.g. 4.2) not being loaded.

Most likely it gets loaded as a double value.

The old code uses instanceof Integer / instanceof Float checks.
Instead one should use Float.parseFloat(string), that always returns a float and is the cleaner way imo.

@TylerS1066 TylerS1066 merged commit 97e690a into APDevTeam:main Apr 25, 2024
2 checks passed
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