Skip to content

Fix 1.21.1 server side starting issues #102

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

Open
wants to merge 1 commit into
base: 1.21
Choose a base branch
from

Conversation

fabianofa
Copy link

@fabianofa fabianofa commented Dec 15, 2024

Apparently 21.1.* NeoForge versions (compatible with 1.21.1 server/client) do not take well empty event handlers, or at least without a @SubscribeEvent method.

I searched for implementations of what would be the FMLServerStartingEvent or FMLServerAboutToStartEvent to have at least an empty method listening to them, but couldn't find any.

As the class ESEventHandlerServer was empty, I assume that there are no server sided events that are relevant to the mod now, and to allow the players to boot the servers, simply removing it would do.

I have no experience with Minecraft modding though and my Java is quite rusty.
Let me know if you need more changes to it.
The base repo also doesn't have a 1.21.1 branch, so I'm happy to change it target that once it's created/

* Remove empty DEDICATED_SERVER handler causing trouble on starting 1.21.1 servers
@Random-Scientist Random-Scientist self-requested a review March 23, 2025 19:39
@Random-Scientist
Copy link
Member

LGTM, sorry for the late response on review. (will merge after testing)

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