summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-04-26 16:44:15 +0200
committerHowaner <franzi.moos@googlemail.com>2014-04-26 16:44:15 +0200
commit49f6819829b437f776ea08f50c92cc506ee9ddcb (patch)
tree34c7018d226f2fc29e9eea604a043554abd43a39 /src/WorldStorage/NBTChunkSerializer.cpp
parentChange m_InvulnerableTicks description again again :D (diff)
downloadcuberite-49f6819829b437f776ea08f50c92cc506ee9ddcb.tar
cuberite-49f6819829b437f776ea08f50c92cc506ee9ddcb.tar.gz
cuberite-49f6819829b437f776ea08f50c92cc506ee9ddcb.tar.bz2
cuberite-49f6819829b437f776ea08f50c92cc506ee9ddcb.tar.lz
cuberite-49f6819829b437f776ea08f50c92cc506ee9ddcb.tar.xz
cuberite-49f6819829b437f776ea08f50c92cc506ee9ddcb.tar.zst
cuberite-49f6819829b437f776ea08f50c92cc506ee9ddcb.zip
Diffstat (limited to 'src/WorldStorage/NBTChunkSerializer.cpp')
-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 b6c14db9c..46c6b8e92 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -516,7 +516,7 @@ void cNBTChunkSerializer::AddMonsterEntity(cMonster * a_Monster)
}
case cMonster::mtWither:
{
- m_Writer.AddInt("Invul", ((const cWither *)a_Monster)->GetNumInvulnerableTicks());
+ m_Writer.AddInt("Invul", ((const cWither *)a_Monster)->GetWitherInvulnerableTicks());
break;
}
case cMonster::mtWolf: