Merge pull request #357 from jk-5/sharable

Make NetworkEventFiringHandler sharable
This commit is contained in:
cpw 2014-01-19 07:37:52 -08:00
commit 48403ce488
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package cpw.mods.fml.common.network;
import org.apache.logging.log4j.Level;
import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.network.internal.FMLProxyPacket;
import io.netty.channel.ChannelHandler.Sharable;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
@ -14,6 +15,7 @@ import io.netty.channel.SimpleChannelInboundHandler;
* @author cpw
*
*/
@Sharable
public class NetworkEventFiringHandler extends SimpleChannelInboundHandler<FMLProxyPacket> {
private FMLEventChannel eventChannel;