Fix network channels not initializing during server transfers. Closes #10067

This commit is contained in:
LexManos committed 2024-08-17 13:06:27 -07:00
1 parent 0554de0251
commit 333a8e16ad
1 file changed
+1 -1
@@ -166,7 +166,7 @@ public class ServerLifecycleHooks {
if (!allowLogins.get())
return rejectConnection(connection, ctx.getType(), "Server is still starting! Please wait before reconnecting.");
if (packet.intention() != ClientIntent.LOGIN)
if (packet.intention() == ClientIntent.STATUS)
return true;
if (ctx.getType() == ConnectionType.MODDED && ctx.getNetVersion() != NetworkContext.NET_VERSION)