mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-21 04:32:28 +00:00
Fixed some client side derp where the server handlers where not registered.
This commit is contained in:
1 parent
f2ef8e4818
commit
a81c71de7a
1 file changed
+2
-2
@@ -102,8 +102,8 @@ public class PacketManager
|
||||
String codecName = channel.findChannelHandlerNameForType(Codec.class);
|
||||
channel.pipeline().addAfter(codecName, "ClientHandler", new HandlerClient());
|
||||
}
|
||||
else
|
||||
{
|
||||
//else
|
||||
{
|
||||
// for the server
|
||||
FMLEmbeddedChannel channel = channels.get(Side.SERVER);
|
||||
String codecName = channel.findChannelHandlerNameForType(Codec.class);
|
||||
|
||||
Reference in new issue
Block a user