summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-19 11:51:39 +0200
committerarchshift <admin@archshift.com>2014-07-19 11:51:39 +0200
commitf5bcfdc58c7b5d69abbb222787bb2229c0b54088 (patch)
treeca52fbde3b744760e8dd9c1845d0ac7714a432ce /src/WorldStorage/NBTChunkSerializer.cpp
parentFixed splash potion color on toss (diff)
downloadcuberite-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/NBTChunkSerializer.cpp')
-rw-r--r--src/WorldStorage/NBTChunkSerializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorldStorage/NBTChunkSerializer.cpp b/src/WorldStorage/NBTChunkSerializer.cpp
index e68903b26..62db302ef 100644
--- a/src/WorldStorage/NBTChunkSerializer.cpp
+++ b/src/WorldStorage/NBTChunkSerializer.cpp
@@ -613,7 +613,7 @@ void cNBTChunkSerializer::AddProjectileEntity(cProjectileEntity * a_Projectile)
m_Writer.AddInt("EffectDuration", (Int16)Potion->GetEntityEffect().GetDuration());
m_Writer.AddShort("EffectIntensity", Potion->GetEntityEffect().GetIntensity());
m_Writer.AddDouble("EffectDistanceModifier", Potion->GetEntityEffect().GetDistanceModifier());
- m_Writer.AddInt("PotionName", Potion->GetPotionParticleType());
+ m_Writer.AddInt("PotionName", Potion->GetPotionColor());
}
case cProjectileEntity::pkGhastFireball:
{