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 ExprRandom missing canInitSafely #6512

Merged

Conversation

AyhamAl-Ali
Copy link
Member

Description

This expression was missing LiteralUtils#canInitSafely() which caused it to throw an exception because it allowed parsing literally anything that is whether known or not and failing when an unknown expression is used such as random color of somethingunkown


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

@AyhamAl-Ali AyhamAl-Ali added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Mar 27, 2024
@Moderocky Moderocky merged commit 9b96c8e into SkriptLang:dev/patch Mar 27, 2024
4 checks passed
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.

None yet

3 participants