Fix compression crash

This commit is contained in:
Chicken-Bomes committed 2014-04-10 18:37:39 +10:00
1 parent c3dcc42a65
commit 32fa471c44
1 file changed
+1
+1
View File
@@ -237,6 +237,7 @@ public final class PacketCustom implements MCDataInput, MCDataOutput
} catch (Exception e) {
throw new RuntimeException(e);
} finally {
byteBuf.readerIndex(0);
deflater.end();
}
}