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 empty string parsing #5415

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

TPGamesNL
Copy link
Member

Description

Fix parsing of an empty string. #5103 reordered the if statements in SkriptParser#next, causing a call with a startIndex out of range of the string to be incremented with context COMMAND.


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

@AyhamAl-Ali AyhamAl-Ali added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jan 30, 2023
@AyhamAl-Ali AyhamAl-Ali merged commit ff66818 into SkriptLang:master Jan 30, 2023
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants