From f080c5d2e8ba51cd8ad48e05a2eb46c7630a55c2 Mon Sep 17 00:00:00 2001 From: jk-5 Date: Sun, 19 Jan 2014 12:21:24 +0100 Subject: [PATCH] Make NetworkEventFiringHandler sharable Fixes #356 --- .../cpw/mods/fml/common/network/NetworkEventFiringHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fml/src/main/java/cpw/mods/fml/common/network/NetworkEventFiringHandler.java b/fml/src/main/java/cpw/mods/fml/common/network/NetworkEventFiringHandler.java index c7f3ee0c7..c0379c665 100644 --- a/fml/src/main/java/cpw/mods/fml/common/network/NetworkEventFiringHandler.java +++ b/fml/src/main/java/cpw/mods/fml/common/network/NetworkEventFiringHandler.java @@ -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 { private FMLEventChannel eventChannel;