mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix network channels not initializing during server transfers. Closes #10067
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user