summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-12-05 15:54:34 +0100
committerGargaj <gargaj@conspiracy.hu>2015-12-05 15:54:34 +0100
commit4132ff495c6c6a6fe615a2ac91141689e2395142 (patch)
treee76a28ec6b6e2c8d8d5cc0e6d3081405f0412512
parentMerge pull request #2694 from SafwatHalaby/documentation (diff)
downloadcuberite-4132ff495c6c6a6fe615a2ac91141689e2395142.tar
cuberite-4132ff495c6c6a6fe615a2ac91141689e2395142.tar.gz
cuberite-4132ff495c6c6a6fe615a2ac91141689e2395142.tar.bz2
cuberite-4132ff495c6c6a6fe615a2ac91141689e2395142.tar.lz
cuberite-4132ff495c6c6a6fe615a2ac91141689e2395142.tar.xz
cuberite-4132ff495c6c6a6fe615a2ac91141689e2395142.tar.zst
cuberite-4132ff495c6c6a6fe615a2ac91141689e2395142.zip
-rw-r--r--src/Entities/ThrownEggEntity.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Entities/ThrownEggEntity.cpp b/src/Entities/ThrownEggEntity.cpp
index d302151d8..b20050529 100644
--- a/src/Entities/ThrownEggEntity.cpp
+++ b/src/Entities/ThrownEggEntity.cpp
@@ -76,14 +76,14 @@ void cThrownEggEntity::TrySpawnChicken(const Vector3d & a_HitPos)
{
if (m_World->GetTickRandomNumber(7) == 1)
{
- m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, false);
+ m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, true);
}
else if (m_World->GetTickRandomNumber(32) == 1)
{
- m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, false);
- m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, false);
- m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, false);
- m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, false);
+ m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, true);
+ m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, true);
+ m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, true);
+ m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, true);
}
}