diff options
author | archshift <admin@archshift.com> | 2014-07-19 11:51:39 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-07-19 11:51:39 +0200 |
commit | f5bcfdc58c7b5d69abbb222787bb2229c0b54088 (patch) | |
tree | ca52fbde3b744760e8dd9c1845d0ac7714a432ce /src/WorldStorage/WSSAnvil.cpp | |
parent | Fixed splash potion color on toss (diff) | |
download | cuberite-f5bcfdc58c7b5d69abbb222787bb2229c0b54088.tar cuberite-f5bcfdc58c7b5d69abbb222787bb2229c0b54088.tar.gz cuberite-f5bcfdc58c7b5d69abbb222787bb2229c0b54088.tar.bz2 cuberite-f5bcfdc58c7b5d69abbb222787bb2229c0b54088.tar.lz cuberite-f5bcfdc58c7b5d69abbb222787bb2229c0b54088.tar.xz cuberite-f5bcfdc58c7b5d69abbb222787bb2229c0b54088.tar.zst cuberite-f5bcfdc58c7b5d69abbb222787bb2229c0b54088.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 b4048b097..663d489bc 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->SetPotionParticleType(a_NBT.FindChildByName(a_TagIdx, "PotionName")); + SplashPotion->SetPotionColor(a_NBT.FindChildByName(a_TagIdx, "PotionName")); // Store the new splash potion in the entities list: a_Entities.push_back(SplashPotion.release()); |