Fixed getEffectiveSide() for Netty Server threads
This commit is contained in:
parent
2096bcb5ab
commit
a7ff70eaa4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue