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

Disable scripts before addons are disabled #4092

Merged

Conversation

TPGamesNL
Copy link
Member

Description

This PR makes 'on unload' and 'on skript stop' triggers (and possibly other code) be called before addons are being disabled. This used to happen after addons where disabled, before Skript was disabled. This could cause issues where addons could no longer load new classes on certain environments, thus throwing exceptions, which could lead to variable loss.

This PR won't build without #4091


Target Minecraft Versions: any
Requirements: none
Related Issues: #4065, APickledWalrus/skript-gui#23

@TPGamesNL TPGamesNL added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Jun 20, 2021
@TPGamesNL TPGamesNL requested a review from Pikachu920 June 21, 2021 14:59
@FranKusmiruk FranKusmiruk merged commit 9ca03bb into SkriptLang:master Jun 22, 2021
@TPGamesNL TPGamesNL deleted the fix/earlier-script-disabling branch June 22, 2021 17:43
ALOBugTea added a commit to ALOBugTea/Skript that referenced this pull request Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants