summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 09:38:21 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-30 09:38:21 +0200
commitedab2a66a25ee1db5c9e582a2ed6d4e0cc84036e (patch)
tree09c1a6d505406eb4923573db3e326039d94a4b30
parentd (diff)
downloadcuberite-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.cpp4
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;