summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/NBTChunkSerializer.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-07-15 22:41:42 +0200
committermadmaxoft <github@xoft.cz>2014-07-15 22:41:42 +0200
commitcc452f51c8c4e1c886932d2f7965c7b3e4ab42fe (patch)
treea312110638939187d1e54e11761f883a22a50e1e /src/WorldStorage/NBTChunkSerializer.cpp
parentOnly the cEntityEffect::effXXX constants are Lua-exported. (diff)
downloadcuberite-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 '')
-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 82c8df947..6d0b60371 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->GetPotionName());
+ m_Writer.AddInt("PotionName", Potion->GetPotionParticleType());
}
case cProjectileEntity::pkGhastFireball:
{