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 UnresolvedOfflinePlayer thread exception #3827

Conversation

TPGamesNL
Copy link
Member

@TPGamesNL TPGamesNL commented Mar 16, 2021

Description

The UnresolvedOfflinePlayer class hasn't been used since its creation in 2014, so this PR just deletes it.
Btw, the issue was that Skript.onDisable was loading the class (because it's trying to set all static fields to null). When the resolved thread eventually starts, Skript has been disabled and its ClassLoader closed, so the thread trying to get the UnresolvedOfflinePlayer.toResolve fails, as the ClassLoader is closed.


Target Minecraft Versions: any
Requirements: none
Related Issues: #3672 #3036 #237

@TPGamesNL TPGamesNL added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. 2.5 labels Mar 16, 2021
@Whimsyturtle Whimsyturtle merged commit 6734dbf into SkriptLang:master Mar 19, 2021
@TPGamesNL TPGamesNL deleted the fix/unresolved-offline-player-exception branch March 19, 2021 17:53
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