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 resources being inaccessible to the command manager #5

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

TechnoPorg
Copy link
Member

@TechnoPorg TechnoPorg commented Sep 22, 2024

Addresses #4, but does not yet fix the issue with loading user data from disk.

…file

Presumably, the system class loader is something tied to the main Minecraft process, as it has no access to any of the resources of the Discord Verifier JAR.

It now uses the mod-specific class loader, which loads resources within the proper context and fixes the bug of the command file not being loaded when packaged in a JAR.
@TechnoPorg TechnoPorg merged commit 7b3950b into main Sep 22, 2024
2 checks passed
@TechnoPorg TechnoPorg deleted the fix-class-loader branch September 22, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant