3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 15:20:35 +01:00

Don't need to call memoryAddress() here as we do it later on anyway

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-09-21 11:27:43 -04:00
Ursprung b61321f4f7
Commit 6c348c994c

Datei anzeigen

@ -29,8 +29,6 @@ public class LibdeflateVelocityCompressor implements VelocityCompressor {
public void inflate(ByteBuf source, ByteBuf destination, int uncompressedSize)
throws DataFormatException {
ensureNotDisposed();
source.memoryAddress();
destination.memoryAddress();
// libdeflate recommends we work with a known uncompressed size - so we work strictly within
// those parameters. If the uncompressed size doesn't match the compressed size, then we will