diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-07 17:43:34 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-07 17:43:34 +0200 |
commit | 91b15b475ac151b0f56519ce0cd6f824ec0fd0cc (patch) | |
tree | c2d763b7b8a2136f13fec81bf4b4b45743c8f5a8 /src/WorldStorage/NBTChunkSerializer.cpp | |
parent | Fixed wires powering wires diagonally below them (diff) | |
parent | Fix MagmaCube save. (diff) | |
download | cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.gz cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.bz2 cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.lz cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.xz cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.tar.zst cuberite-91b15b475ac151b0f56519ce0cd6f824ec0fd0cc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/NBTChunkSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp index fd356c7de..ff0241091 100644 --- a/src/WorldStorage/NBTChunkSerializer.cpp +++ b/src/WorldStorage/NBTChunkSerializer.cpp @@ -490,7 +490,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster) } case cMonster::mtMagmaCube: { - m_Writer.AddByte("Size", ((const cMagmaCube *)a_Monster)->GetSize()); + m_Writer.AddInt("Size", ((const cMagmaCube *)a_Monster)->GetSize()); break; } case cMonster::mtSheep: |