diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-07-31 12:13:11 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-07-31 12:13:11 +0200 |
commit | 556fc908aedcc36388e9d859487b140045e5e33e (patch) | |
tree | 2dccc3b803528418ea3044a8cefe124028903447 /src/WorldStorage/WSSAnvil.cpp | |
parent | Added window update. (diff) | |
download | cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.gz cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.bz2 cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.lz cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.xz cuberite-556fc908aedcc36388e9d859487b140045e5e33e.tar.zst cuberite-556fc908aedcc36388e9d859487b140045e5e33e.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/WSSAnvil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WorldStorage/WSSAnvil.cpp b/src/WorldStorage/WSSAnvil.cpp index 5a1972fd4..555ef410d 100644 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -771,13 +771,13 @@ void cWSSAnvil::LoadBeaconFromNBT(cBlockEntityList & a_BlockEntities, const cPar CurrentLine = a_NBT.FindChildByName(a_TagIdx, "Primary"); if (CurrentLine >= 0) { - Beacon->SelectPrimaryPotion((cEntityEffect::eType)a_NBT.GetInt(CurrentLine)); + Beacon->SelectPrimaryEffect((cEntityEffect::eType)a_NBT.GetInt(CurrentLine)); } CurrentLine = a_NBT.FindChildByName(a_TagIdx, "Secondary"); if (CurrentLine >= 0) { - Beacon->SelectSecondaryPotion((cEntityEffect::eType)a_NBT.GetInt(CurrentLine)); + Beacon->SelectSecondaryEffect((cEntityEffect::eType)a_NBT.GetInt(CurrentLine)); } // We are better than mojang, we load/save the beacon inventory! |