summaryrefslogtreecommitdiffstats
path: root/Tools/BlockZapper/Zapper.cpp
diff options
context:
space:
mode:
authorMichael Hinz <michael@hinz.no.eu.org>2018-02-04 21:41:49 +0100
committerAlexander Harkness <me@bearbin.net>2018-02-04 21:41:49 +0100
commita28a93c9caac8e7afc1524f9bc2081263ed15b32 (patch)
treeb18fd6cdba895d5df24ffc96e64113ddfd509660 /Tools/BlockZapper/Zapper.cpp
parentA player's inventory is always opened by its owner. (#4176) (diff)
downloadcuberite-a28a93c9caac8e7afc1524f9bc2081263ed15b32.tar
cuberite-a28a93c9caac8e7afc1524f9bc2081263ed15b32.tar.gz
cuberite-a28a93c9caac8e7afc1524f9bc2081263ed15b32.tar.bz2
cuberite-a28a93c9caac8e7afc1524f9bc2081263ed15b32.tar.lz
cuberite-a28a93c9caac8e7afc1524f9bc2081263ed15b32.tar.xz
cuberite-a28a93c9caac8e7afc1524f9bc2081263ed15b32.tar.zst
cuberite-a28a93c9caac8e7afc1524f9bc2081263ed15b32.zip
Diffstat (limited to 'Tools/BlockZapper/Zapper.cpp')
-rw-r--r--Tools/BlockZapper/Zapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/BlockZapper/Zapper.cpp b/Tools/BlockZapper/Zapper.cpp
index 83c9657ce..ae3916835 100644
--- a/Tools/BlockZapper/Zapper.cpp
+++ b/Tools/BlockZapper/Zapper.cpp
@@ -162,7 +162,7 @@ void cZapper::LoadChunkData(cFile & a_InFile, int a_ChunkHeaderValue, AString &
a_InFile.Read(ChunkHeader, sizeof(ChunkHeader));
if (ChunkHeader[4] != 2)
{
- fprintf(stderr, "Chunk [%d, %d] is compressed in an unknown scheme (%d), skipping", a_ChunkX, a_ChunkZ, ChunkHeader[5]);
+ fprintf(stderr, "Chunk [%d, %d] is compressed in an unknown scheme (%d), skipping", a_ChunkX, a_ChunkZ, ChunkHeader[4]);
return;
}
int ActualSize = (ChunkHeader[0] << 24) | (ChunkHeader[1] << 16) | (ChunkHeader[2] << 8) | ChunkHeader[3];