summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.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/WSSAnvil.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 '')
-rw-r--r--src/WorldStorage/WSSAnvil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp
index 66144dbd5..4532a925a 100644
--- a/src/WorldStorage/WSSAnvil.cpp
+++ b/src/WorldStorage/WSSAnvil.cpp
@@ -2272,7 +2272,7 @@ void cWSSAnvil::LoadWitherFromNBT(cEntityList & a_Entities, const cParsedNBT & a
int CurrLine = a_NBT.FindChildByName(a_TagIdx, "Invul");
if (CurrLine > 0)
{
- Monster->SetNumInvulnerableTicks(a_NBT.GetInt(CurrLine));
+ Monster->SetWitherInvulnerableTicks(a_NBT.GetInt(CurrLine));
}
a_Entities.push_back(Monster.release());