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

Update to 2.8 #81

Merged
merged 6 commits into from
Jan 15, 2024
Merged

Update to 2.8 #81

merged 6 commits into from
Jan 15, 2024

Conversation

sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Jan 2, 2024

Sorry, thought I was making a branch on my own fork!

This replaces all uses of SyntaxElementInfo#c with SyntaxElementInfo#getElementClass(), since the field is renamed in 2.8 and will be private in 2.9.

Removes the event-priority addition for custom events in favor of 2.8's automatic handling.

Small change to effreturn to handle exiting while loops properly.

Closes #80

@sovdeeth sovdeeth linked an issue Jan 2, 2024 that may be closed by this pull request
@sovdeeth sovdeeth added the bug Something isn't working label Jan 2, 2024
@UnderscoreTud
Copy link
Member

Could you remove the custom event pattern processing to reflect the new event parsing strategy, it's a 1 line change, so I think it's fine if you include it with this pr

@sovdeeth
Copy link
Member Author

sovdeeth commented Jan 3, 2024

Could you remove the custom event pattern processing to reflect the new event parsing strategy, it's a 1 line change, so I think it's fine if you include it with this pr

I can just make all the other 2.8 changes tbh, it's like 3 lines total.

@sovdeeth sovdeeth changed the title Replace field references to SyntaxElementInfo#c with getters Update to 2.8 Jan 3, 2024
@Pikachu920 Pikachu920 merged commit ce67cac into skript-2.7 Jan 15, 2024
1 check passed
@APickledWalrus APickledWalrus deleted the 2.8-proofing branch February 21, 2024 20:17
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.

Fails to load on Skript 2.8
4 participants