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

ExprStringCase - include expression in toString #6777

Merged

Conversation

ShaneBeee
Copy link
Contributor

Description

I noticed in a previous error in the issues (which was forwarded to SkBee) that the toString for the case expression doesn't include the actual string used, exhibit A:
Current item: add nbt from "{Trim:{material:"minecraft:%lowercase%",pattern:"minecraft:%lowercase%"}}"
As we can see here, it just says %lowercase%
So this PR aims to fix that, by actually sending the expression


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jun 10, 2024
@sovdeeth sovdeeth added the patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version. label Jun 10, 2024
@APickledWalrus APickledWalrus merged commit 2627c95 into SkriptLang:dev/patch Jun 15, 2024
5 checks passed
@ShaneBeee ShaneBeee deleted the fix/case-missing-to-string-stuff branch June 15, 2024 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. patch-ready A PR/issue that has been approved and is ready to be merged/closed for the next patch version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants