Skip to content

Fix compile errors preventing Cloudburst jar from compiling#168

Merged
TheShermanTanker merged 1 commit into
CloudburstMC:mergefrom
TheShermanTanker:compile
Sep 21, 2025
Merged

Fix compile errors preventing Cloudburst jar from compiling#168
TheShermanTanker merged 1 commit into
CloudburstMC:mergefrom
TheShermanTanker:compile

Conversation

@TheShermanTanker

Copy link
Copy Markdown
Collaborator

Cloudburst currently cannot be compiled at all due to 2 compile errors in NetworkUtils and PackManager. This patch fixes those errors and allows Cloudburst to be compiled again. Note: This will not allow you to create a runnable Cloudburst jar. The Cloudburst jar still remains broken, and will have to have a more in depth fix applied to it to function again (Coming soon)

The fixes here are simple, the constructor signatures have merely changed. ResourcePacksInfoPacket.Entry now takes a UUID directly as the first argument rather than a String version of the UUID, and has an additional cdn argument, which I set to an empty string for now. ItemStackResponseSlot now contains a profanity filtered version of the name, but seeing as we don't have a profanity filter and probably no one is going to implement one anytime soon, we'll just throw it an empty string to make the error go away. I actually wanted to implement a better fix for this since the profanity filtered name already is default initialized to an empty string, but lombok sadly isn't flexible enough and the all args constructor will demand that as an argument even if the field is already set...

@smartcmd

Copy link
Copy Markdown
Contributor

wow

@TheShermanTanker TheShermanTanker merged commit fd3c592 into CloudburstMC:merge Sep 21, 2025
1 check passed
@TheShermanTanker TheShermanTanker deleted the compile branch September 21, 2025 06:01
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.

3 participants