quick fix : Redundant 'throws' clause

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent fc54dde7ce
commit 2f47fd5545
3 files changed
+5 -5

No files matched your search

@@ -59,7 +59,7 @@ public class PacketPipeline extends MessageToMessageCodec<FMLProxyPacket, Abstra
// In line encoding of the packet, including discriminator setting
@Override
protected void encode(ChannelHandlerContext ctx, AbstractPacket msg, List<Object> out) throws Exception {
protected void encode(ChannelHandlerContext ctx, AbstractPacket msg, List<Object> out) {
ByteBuf buffer = Unpooled.buffer();
Class<? extends AbstractPacket> clazz = msg.getClass();
if (!this.packets.contains(msg.getClass())) {