diff options
-rw-r--r-- | src/Protocol/ChunkDataSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/ChunkDataSerializer.cpp b/src/Protocol/ChunkDataSerializer.cpp index 6f95fb472..fa396e81d 100644 --- a/src/Protocol/ChunkDataSerializer.cpp +++ b/src/Protocol/ChunkDataSerializer.cpp @@ -503,7 +503,7 @@ inline void cChunkDataSerializer::Serialize477(const int a_ChunkX, const int a_C ChunkDef_ForEachSection(a_BlockData, a_LightData, { // Count non-air blocks. - int BlockCount = 0; + Int16 BlockCount = 0; if (Blocks != nullptr) { for (size_t i = 0; i != ChunkBlockData::SectionBlockCount; i++) |