diff options
author | hallucino <d@t0t0.fr> | 2015-07-16 15:06:54 +0200 |
---|---|---|
committer | hallucino <d@t0t0.fr> | 2015-07-16 22:49:55 +0200 |
commit | 9c85ed5864d53057ebde6f756f89b400172e52b5 (patch) | |
tree | 2dda40bc792a22b420105e89c2f4d18a49c18fff /src/Entities/ThrownEggEntity.cpp | |
parent | Merge pull request #2348 from bibo38/customname (diff) | |
download | cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.gz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.bz2 cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.lz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.xz cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.tar.zst cuberite-9c85ed5864d53057ebde6f756f89b400172e52b5.zip |
Diffstat (limited to 'src/Entities/ThrownEggEntity.cpp')
-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 e9ef29239..91bca1da7 100644 --- a/src/Entities/ThrownEggEntity.cpp +++ b/src/Entities/ThrownEggEntity.cpp @@ -69,13 +69,13 @@ 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); + m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken, false); } else if (m_World->GetTickRandomNumber(32) == 1) { - m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken); - m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken); - m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken); - m_World->SpawnMob(a_HitPos.x, a_HitPos.y, a_HitPos.z, mtChicken); + 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); } } |