1
0

NBTChunkSerializer.cpp: Added break after serializing the splash potion

This commit is contained in:
archshift 2014-07-20 03:19:46 -07:00
parent 88c877f79c
commit e8262373e1

View File

@ -614,6 +614,7 @@ void cNBTChunkSerializer::AddProjectileEntity(cProjectileEntity * a_Projectile)
m_Writer.AddShort("EffectIntensity", Potion->GetEntityEffect().GetIntensity()); m_Writer.AddShort("EffectIntensity", Potion->GetEntityEffect().GetIntensity());
m_Writer.AddDouble("EffectDistanceModifier", Potion->GetEntityEffect().GetDistanceModifier()); m_Writer.AddDouble("EffectDistanceModifier", Potion->GetEntityEffect().GetDistanceModifier());
m_Writer.AddInt("PotionName", Potion->GetPotionColor()); m_Writer.AddInt("PotionName", Potion->GetPotionColor());
break;
} }
case cProjectileEntity::pkGhastFireball: case cProjectileEntity::pkGhastFireball:
{ {