mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 07:47:47 +00:00
Fix compression crash
This commit is contained in:
1 parent
c3dcc42a65
commit
32fa471c44
1 file changed
+1
@@ -237,6 +237,7 @@ public final class PacketCustom implements MCDataInput, MCDataOutput
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
} finally {
|
||||
byteBuf.readerIndex(0);
|
||||
deflater.end();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user