rikka0w0 / LanServerProperties

Enhance the vanilla "Open to LAN" Gui for listening port customization and removal of enforced authentication
https://www.curseforge.com/minecraft/mc-mods/lan-server-properties
108 stars 17 forks source link

The LanServerProperties 1.9 NOT Running in the latest of Forge (41.0.96) #20

Closed MuCloudOfficial closed 2 years ago

MuCloudOfficial commented 2 years ago

The Error : java.lang.NoClassDefFoundError: net/minecraftforge/client/event/ScreenEvent$InitScreenEvent$Post
This Error occured in your java file : LanServerProperties.java:75
at rikka.lanserverproperties.LanServerProperties$ClientHandler.registerGuiEventHandler

Please fix this Problem. thanks.

MuCloudOfficial commented 2 years ago

It can running in the Forge 41.0.42
But it not running in the Forge 41.0.96

rikka0w0 commented 2 years ago

Working on a fix, thanks for reporting the problem

rikka0w0 commented 2 years ago

A breaking change inside Forge itself causes the problem. As of 2022 07 27, Forge does not yet have a stable release for MC 1.19, so this kind of breaking changes should be expected. Check out this: https://github.com/rikka0w0/LanServerProperties/releases/tag/1.9.1_Forge

This should fix the problem. Can you try running this mod on MC 1.19.1 to see if it works?

MuCloudOfficial commented 2 years ago

Got it. Thanks.

MuCloudOfficial commented 2 years ago

A breaking change inside Forge itself causes the problem. As of 2022 07 27, Forge does not yet have a stable release for MC 1.19, so this kind of breaking changes should be expected. Check out this: https://github.com/rikka0w0/LanServerProperties/releases/tag/1.9.1_Forge

This should fix the problem. Can you try running this mod on MC 1.19.1 to see if it works?

Not yet, I will try later.