summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-05-07 12:43:21 +0200
committerHowaner <franzi.moos@googlemail.com>2014-05-07 12:43:21 +0200
commit80bcc43c7bf1661ceeab4567143e174979ccbd59 (patch)
treec2d763b7b8a2136f13fec81bf4b4b45743c8f5a8 /src/WorldStorage/NBTChunkSerializer.cpp
parentFixed wires powering wires diagonally below them (diff)
downloadcuberite-80bcc43c7bf1661ceeab4567143e174979ccbd59.tar
cuberite-80bcc43c7bf1661ceeab4567143e174979ccbd59.tar.gz
cuberite-80bcc43c7bf1661ceeab4567143e174979ccbd59.tar.bz2
cuberite-80bcc43c7bf1661ceeab4567143e174979ccbd59.tar.lz
cuberite-80bcc43c7bf1661ceeab4567143e174979ccbd59.tar.xz
cuberite-80bcc43c7bf1661ceeab4567143e174979ccbd59.tar.zst
cuberite-80bcc43c7bf1661ceeab4567143e174979ccbd59.zip
Diffstat (limited to '')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
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: