diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-04-26 16:44:15 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-04-26 16:44:15 +0200 |
commit | 49f6819829b437f776ea08f50c92cc506ee9ddcb (patch) | |
tree | 34c7018d226f2fc29e9eea604a043554abd43a39 /src/WorldStorage/WSSAnvil.cpp | |
parent | Change m_InvulnerableTicks description again again :D (diff) | |
download | cuberite-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/WSSAnvil.cpp')
-rw-r--r-- | src/WorldStorage/WSSAnvil.cpp | 2 |
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()); |