Spotted by Polar. Signed-off-by: Graham <gpe@openrs2.org>
@ -62,9 +62,7 @@ public class Js5Service @Inject constructor(
alloc.buffer().use { uncompressed ->
masterIndex.write(uncompressed)
Js5Compression.compress(uncompressed, Js5CompressionType.UNCOMPRESSED).use { compressed ->
Js5Compression.compress(uncompressed, Js5CompressionType.UNCOMPRESSED)
compressed.retain()
}
} else {
try {