mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Fixed getEffectiveSide() for Netty Server threads
This commit is contained in:
1 parent
2096bcb5ab
commit
a7ff70eaa4
1 file changed
+1
-1
@@ -160,7 +160,7 @@ public class FMLCommonHandler
|
||||
public Side getEffectiveSide()
|
||||
{
|
||||
Thread thr = Thread.currentThread();
|
||||
if ((thr.getName().equals("Server thread")))
|
||||
if (thr.getName().equals("Server thread") || thr.getName().startsWith("Netty Server IO"))
|
||||
{
|
||||
return Side.SERVER;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user