diff options
author | madmaxoft <github@xoft.cz> | 2014-07-15 22:41:42 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-15 22:41:42 +0200 |
commit | cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe (patch) | |
tree | a312110638939187d1e54e11761f883a22a50e1e /src/WorldStorage/WSSAnvil.cpp | |
parent | Only the cEntityEffect::effXXX constants are Lua-exported. (diff) | |
download | cuberite-cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe.tar cuberite-cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe.tar.gz cuberite-cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe.tar.bz2 cuberite-cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe.tar.lz cuberite-cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe.tar.xz cuberite-cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe.tar.zst cuberite-cc452f51c8c4e1c886932d2f7965c7b3e4ab42fe.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 0319173f8..1a43cf4ba 100644 --- a/src/WorldStorage/WSSAnvil.cpp +++ b/src/WorldStorage/WSSAnvil.cpp @@ -1681,7 +1681,7 @@ void cWSSAnvil::LoadSplashPotionFromNBT(cEntityList & a_Entities, const cParsedN SplashPotion->SetEntityEffectType((cEntityEffect::eType) a_NBT.FindChildByName(a_TagIdx, "EffectType")); SplashPotion->SetEntityEffect(cEntityEffect(EffectDuration, EffectIntensity, EffectDistanceModifier)); - SplashPotion->SetPotionName(a_NBT.FindChildByName(a_TagIdx, "PotionName")); + SplashPotion->SetPotionParticleType(a_NBT.FindChildByName(a_TagIdx, "PotionName")); // Store the new splash potion in the entities list: a_Entities.push_back(SplashPotion.release()); |