summaryrefslogtreecommitdiffstats
path: root/source/Entities
diff options
context:
space:
mode:
authortonibm19 <tonibm19@gmail.com>2013-10-29 16:44:45 +0100
committertonibm19 <tonibm19@gmail.com>2013-10-29 16:44:45 +0100
commite96c1aebfebca4efa908862a8fd2119c784b98d0 (patch)
treea00b19ccad41921a58440e47f4d65881f7efc3ad /source/Entities
parentfixed indentation (diff)
downloadcuberite-e96c1aebfebca4efa908862a8fd2119c784b98d0.tar
cuberite-e96c1aebfebca4efa908862a8fd2119c784b98d0.tar.gz
cuberite-e96c1aebfebca4efa908862a8fd2119c784b98d0.tar.bz2
cuberite-e96c1aebfebca4efa908862a8fd2119c784b98d0.tar.lz
cuberite-e96c1aebfebca4efa908862a8fd2119c784b98d0.tar.xz
cuberite-e96c1aebfebca4efa908862a8fd2119c784b98d0.tar.zst
cuberite-e96c1aebfebca4efa908862a8fd2119c784b98d0.zip
Diffstat (limited to 'source/Entities')
-rw-r--r--source/Entities/ProjectileEntity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Entities/ProjectileEntity.cpp b/source/Entities/ProjectileEntity.cpp
index 017a78806..1d5532718 100644
--- a/source/Entities/ProjectileEntity.cpp
+++ b/source/Entities/ProjectileEntity.cpp
@@ -481,10 +481,10 @@ void cThrownEggEntity::OnHitSolidBlock(const Vector3d & a_HitPos, char a_HitFace
else if (m_World->GetTickRandomNumber(32) == 1)
{
m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
- m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
- }
+ m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, cMonster::mtChicken);
+ }
Destroy();
}