Skip to content

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
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