Skip to content
This repository was archived by the owner on Feb 15, 2026. It is now read-only.

Commit 294970c

Browse files
Run initial reload at server started event. Otherwise server proprties haven't loaded and thus the server port isnt derterminerded
1 parent dbe96cf commit 294970c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • common/src/main/java/top/offsetmonkey538/meshlib/common

common/src/main/java/top/offsetmonkey538/meshlib/common/MESHLib.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static void initialize() {
6464

6565
HttpRouterRegistry.HTTP_ROUTER_REGISTRATION_EVENT.listen(RouterConfigHandler::init);
6666

67-
ServerLifecycleApi.STARTING.listen(MESHLibApi::reload);
67+
ServerLifecycleApi.STARTED.listen(MESHLibApi::reload);
6868
}
6969

7070
public static void disableAllHandlers() {

0 commit comments

Comments
 (0)