diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Cow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Mobs/Cow.cpp b/src/Mobs/Cow.cpp index 9736fe440..003159959 100644 --- a/src/Mobs/Cow.cpp +++ b/src/Mobs/Cow.cpp @@ -21,6 +21,11 @@ cCow::cCow(void) : void cCow::GetDrops(cItems & a_Drops, cEntity * a_Killer) { + if (IsBaby()) + { + return; // Babies don't drop items + } + unsigned int LootingLevel = 0; if (a_Killer != nullptr) { |