diff options
author | Alexander Harkness <me@bearbin.net> | 2024-11-05 00:06:04 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2024-11-05 00:06:04 +0100 |
commit | 669b4213668c046693459ced1886a3ed7b011761 (patch) | |
tree | 856d24f62b06975a5af7ab1a346de6e1b3727c51 | |
parent | Merge remote-tracking branch 'origin/master' into real-block-count (diff) | |
download | cuberite-669b4213668c046693459ced1886a3ed7b011761.tar cuberite-669b4213668c046693459ced1886a3ed7b011761.tar.gz cuberite-669b4213668c046693459ced1886a3ed7b011761.tar.bz2 cuberite-669b4213668c046693459ced1886a3ed7b011761.tar.lz cuberite-669b4213668c046693459ced1886a3ed7b011761.tar.xz cuberite-669b4213668c046693459ced1886a3ed7b011761.tar.zst cuberite-669b4213668c046693459ced1886a3ed7b011761.zip |
-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++) |