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/Mooshroom.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Mobs/Mooshroom.cpp') diff --git a/src/Mobs/Mooshroom.cpp b/src/Mobs/Mooshroom.cpp index b6feca76e..fc901e627 100644 --- a/src/Mobs/Mooshroom.cpp +++ b/src/Mobs/Mooshroom.cpp @@ -24,6 +24,11 @@ cMooshroom::cMooshroom(void) : void cMooshroom::GetDrops(cItems & a_Drops, cEntity * a_Killer) { + if (IsBaby()) + { + return; // Babies don't drop items + } + unsigned int LootingLevel = 0; if (a_Killer != nullptr) { -- cgit v1.2.3