Fixed getEffectiveSide() for Netty Server threads

This commit is contained in:
HEmile 2014-12-23 20:26:37 +01:00
parent 2096bcb5ab
commit a7ff70eaa4

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