summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-04 20:02:43 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-05 09:35:37 +0200
commitc0d1cffe0b5823ecd657ab655ab1268e72288cfb (patch)
tree6e0fb35f30d86a44500cdde09a3ef2e34f6940bb /src
parentAdjust incorrect palette inclusions (diff)
downloadcuberite-c0d1cffe0b5823ecd657ab655ab1268e72288cfb.tar
cuberite-c0d1cffe0b5823ecd657ab655ab1268e72288cfb.tar.gz
cuberite-c0d1cffe0b5823ecd657ab655ab1268e72288cfb.tar.bz2
cuberite-c0d1cffe0b5823ecd657ab655ab1268e72288cfb.tar.lz
cuberite-c0d1cffe0b5823ecd657ab655ab1268e72288cfb.tar.xz
cuberite-c0d1cffe0b5823ecd657ab655ab1268e72288cfb.tar.zst
cuberite-c0d1cffe0b5823ecd657ab655ab1268e72288cfb.zip
Diffstat (limited to 'src')
-rw-r--r--src/Protocol/ChunkDataSerializer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Protocol/ChunkDataSerializer.cpp b/src/Protocol/ChunkDataSerializer.cpp
index d4e23f11f..394514f3f 100644
--- a/src/Protocol/ChunkDataSerializer.cpp
+++ b/src/Protocol/ChunkDataSerializer.cpp
@@ -527,7 +527,6 @@ void cChunkDataSerializer::Serialize477(const std::vector<cClientHandle *> & a_S
// Write the chunk size in bytes:
const UInt8 BitsPerEntry = 14;
- const size_t Mask = (1 << BitsPerEntry) - 1;
const size_t ChunkSectionDataArraySize = (cChunkData::SectionBlockCount * BitsPerEntry) / 8 / 8;
const size_t ChunkSectionSize = (
2 + // Block count, BEInt16, 2 bytes