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 to json #126

Merged
merged 2 commits into from
Dec 6, 2023
Merged

Fix to json #126

merged 2 commits into from
Dec 6, 2023

Conversation

KitCat962
Copy link
Contributor

This fixes toJson converting strings into numbers by explicitly checking for the LuaString class.
This fixes the "toJson("-") gives 0" bug report https://discord.com/channels/1129805506354085959/1153212296311603200

@skyrina skyrina merged commit b8f412f into FiguraMC:1.20 Dec 6, 2023
1 check passed
@KitCat962 KitCat962 deleted the fix-toJson branch December 13, 2023 21:18
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