Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit e384773

Browse files
authored
Change Throws IOException to Exception
1 parent c9f76bf commit e384773

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/me/zero/client/load/mixin/MixinNettyPacketEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class MixinNettyPacketEncoder {
2929
* @author Brady
3030
*/
3131
@Overwrite
32-
protected void encode(ChannelHandlerContext ctx, Packet<?> msg, ByteBuf out) throws IOException {
32+
protected void encode(ChannelHandlerContext ctx, Packet<?> msg, ByteBuf out) throws Exception {
3333
EnumConnectionState state = ctx.channel().attr(NetworkManager.PROTOCOL_ATTRIBUTE_KEY).get();
3434
Integer packetId = state.getPacketId(this.direction, msg);
3535

0 commit comments

Comments
 (0)