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

Make EffReturn be ignored if not in correct section #78

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

TheLimeGlass
Copy link

Make EffReturn be ignored if not in correct section.
Currently skript-reflect will override Skript's own EffReturn. Even when in a function Structure.

To avoid this, and any other possible causes, skript-reflect should just silently return false and not error, because erroring makes Skript stop searching for possible syntaxes.

Make EffReturn be ignored if not in correct section
@sovdeeth sovdeeth added the bug Something isn't working label Jan 2, 2024
@APickledWalrus
Copy link
Member

Do you think it would be better to instead only print this error when not in a StructFunction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants