Fix memory leak

This commit is contained in:
creeper123123321 2018-07-29 09:34:27 -03:00
parent 7518f8b98b
commit e9aa18fd6b
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -162,6 +162,7 @@ public class WorldPackets {
output.writeToBuffer(buffer);
PacketWrapper chunkPacket = new PacketWrapper(0x21, buffer, wrapper.user());
chunkPacket.send(Protocol1_9TO1_8.class, false, true);
buffer.release();
}
}
});