diff options
author | Gargaj <gargaj@conspiracy.hu> | 2015-12-05 15:54:34 +0100 |
---|---|---|
committer | Gargaj <gargaj@conspiracy.hu> | 2015-12-05 15:54:34 +0100 |
commit | 4132ff495c6c6a6fe615a2ac91141689e2395142 (patch) | |
tree | e76a28ec6b6e2c8d8d5cc0e6d3081405f0412512 /src | |
parent | Merge pull request #2694 from SafwatHalaby/documentation (diff) | |
download | cuberite-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 |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/ThrownEggEntity.cpp | 10 |
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); } } |