Fixed getEffectiveSide() for Netty Server threads

This commit is contained in:
HEmile 2014-12-23 20:26:37 +01:00
parent 2096bcb5ab
commit a7ff70eaa4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}