diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-30 09:38:21 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-30 09:38:21 +0200 |
commit | edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e (patch) | |
tree | 09c1a6d505406eb4923573db3e326039d94a4b30 | |
parent | d (diff) | |
download | cuberite-edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e.tar cuberite-edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e.tar.gz cuberite-edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e.tar.bz2 cuberite-edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e.tar.lz cuberite-edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e.tar.xz cuberite-edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e.tar.zst cuberite-edab2a66a25ee1db5c9e582a2ed6d4e0cc84036e.zip |
-rw-r--r-- | src/Mobs/Behaviors/BehaviorItemDropper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/Behaviors/BehaviorItemDropper.cpp b/src/Mobs/Behaviors/BehaviorItemDropper.cpp index 0ca718990..d39993012 100644 --- a/src/Mobs/Behaviors/BehaviorItemDropper.cpp +++ b/src/Mobs/Behaviors/BehaviorItemDropper.cpp @@ -29,14 +29,14 @@ void cBehaviorItemDropper::PostTick(std::chrono::milliseconds a_Dt, cChunk & a_C return; // Babies don't lay eggs } - if ((m_EggDropTimer == 120) && GetRandomProvider().RandBool()) + if ((m_EggDropTimer == 6000) && GetRandomProvider().RandBool()) { cItems Drops; m_EggDropTimer = 0; Drops.push_back(cItem(E_ITEM_EGG, 1)); m_Parent->GetWorld()->SpawnItemPickups(Drops, m_Parent->GetPosX(), m_Parent->GetPosY(), m_Parent->GetPosZ(), 10); } - else if (m_EggDropTimer == 150) + else if (m_EggDropTimer == 12000) { cItems Drops; m_EggDropTimer = 0; |