NBTChunkSerializer.cpp: Added break after serializing the splash potion
This commit is contained in:
parent
88c877f79c
commit
e8262373e1
@ -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:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user