diff options
author | Mattes D <github@xoft.cz> | 2014-09-26 22:24:45 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-26 22:24:45 +0200 |
commit | 2c5b0f23788f027ebcb6e38d26036a04d011e1fd (patch) | |
tree | 0fde79c6cc466306eb042e88728c209cbc94f789 /src/Mobs | |
parent | Merge pull request #1455 from mc-server/includes (diff) | |
parent | Moved curly brace to seperate line (diff) | |
download | cuberite-2c5b0f23788f027ebcb6e38d26036a04d011e1fd.tar cuberite-2c5b0f23788f027ebcb6e38d26036a04d011e1fd.tar.gz cuberite-2c5b0f23788f027ebcb6e38d26036a04d011e1fd.tar.bz2 cuberite-2c5b0f23788f027ebcb6e38d26036a04d011e1fd.tar.lz cuberite-2c5b0f23788f027ebcb6e38d26036a04d011e1fd.tar.xz cuberite-2c5b0f23788f027ebcb6e38d26036a04d011e1fd.tar.zst cuberite-2c5b0f23788f027ebcb6e38d26036a04d011e1fd.zip |
Diffstat (limited to 'src/Mobs')
-rw-r--r-- | src/Mobs/Sheep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Sheep.cpp b/src/Mobs/Sheep.cpp index c12e8d786..cbb33cb90 100644 --- a/src/Mobs/Sheep.cpp +++ b/src/Mobs/Sheep.cpp @@ -45,7 +45,7 @@ void cSheep::GetDrops(cItems & a_Drops, cEntity * a_Killer) { LootingLevel = a_Killer->GetEquippedWeapon().m_Enchantments.GetLevel(cEnchantments::enchLooting); } - AddRandomDropItem(a_Drops, 1, 3 + LootingLevel, IsOnFire() ? E_ITEM_MUTTON : E_ITEM_RAW_MUTTON); + AddRandomDropItem(a_Drops, 1, 3 + LootingLevel, IsOnFire() ? E_ITEM_COOKED_MUTTON : E_ITEM_RAW_MUTTON); } |