Skip to content

fix: resolve NoClassDefFoundError by embedding exploit-preventer-api & tweak security logic#534

Closed
JAXPLE wants to merge 4 commits into
AntiCope:masterfrom
Astatine-LAB:master
Closed

fix: resolve NoClassDefFoundError by embedding exploit-preventer-api & tweak security logic#534
JAXPLE wants to merge 4 commits into
AntiCope:masterfrom
Astatine-LAB:master

Conversation

@JAXPLE

@JAXPLE JAXPLE commented Mar 27, 2026

Copy link
Copy Markdown

Description

Embedded the exploit-preventer-api to resolve the NoClassDefFoundError that happens when launching the game without the mod. I also stabilized some code to prevent accidental personal data leaks.

Related Issue

N/A

Motivation and Context

The crash happened because ServerSpoofMixin relied on the ExploitPreventer API, but the API wasn't included in the built JAR. This caused the game to crash immediately for anyone not using the external mod. To fix this, I've properly embedded the API dependency in the build.
Alongside this, I've updated some sensitive code structures to ensure user personal details are better protected from accidental exposure.

How Has This Been Tested?

  • Compiled and ran the client locally without the external mod to confirm the API is properly embedded and the startup crash is gone.
  • Checked that the new privacy logic works as intended without breaking existing features like Yggdrasil login.

Screenshots (if appropriate):

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My code follows the code style of this project.
  • Have you successfully ran tests with your changes locally?

@JAXPLE

JAXPLE commented Mar 29, 2026

Copy link
Copy Markdown
Author

I missed it ;)

@JAXPLE JAXPLE closed this Mar 29, 2026
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