From e585595ae64cc5523547c95cb8bebeb8e60f141b Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Sat, 21 Oct 2017 18:55:46 +0200 Subject: Fixed some small passive mob issues (#4057) * Chickens can be bred with seeds, beetroot seeds, melon seeds, or pumpkin seeds Ref: https://minecraft.gamepedia.com/Chicken#Baby_chicken * Baby passive mobs don't drop items * Fixed the size of some mobs --- src/Mobs/Sheep.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Mobs/Sheep.cpp') diff --git a/src/Mobs/Sheep.cpp b/src/Mobs/Sheep.cpp index 814c87f5d..190fac241 100644 --- a/src/Mobs/Sheep.cpp +++ b/src/Mobs/Sheep.cpp @@ -35,6 +35,11 @@ cSheep::cSheep(int a_Color) : void cSheep::GetDrops(cItems & a_Drops, cEntity * a_Killer) { + if (IsBaby()) + { + return; // Babies don't drop items + } + if (!m_IsSheared) { a_Drops.push_back(cItem(E_BLOCK_WOOL, 1, static_cast(m_WoolColor))); -- cgit v1.2.3