diff options
author | TheJumper <maximilian.springer@web.de> | 2014-02-23 18:13:49 +0100 |
---|---|---|
committer | TheJumper <maximilian.springer@web.de> | 2014-02-23 18:13:49 +0100 |
commit | 1afcc255bfe7153dc397970e0ece41d6d48e63be (patch) | |
tree | a6c3ea18af891781c4a7e48528e635def25ba98e /src/Mobs/Witch.cpp | |
parent | Finally corrected the Enchantment constants. (diff) | |
download | cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.gz cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.bz2 cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.lz cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.xz cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.tar.zst cuberite-1afcc255bfe7153dc397970e0ece41d6d48e63be.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Witch.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Mobs/Witch.cpp b/src/Mobs/Witch.cpp index bdc9e11de..6956f7b7a 100644 --- a/src/Mobs/Witch.cpp +++ b/src/Mobs/Witch.cpp @@ -39,9 +39,7 @@ void cWitch::GetDrops(cItems & a_Drops, cEntity * a_Killer) case 6: AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_SUGAR); break; } } - cItems RareDrops; - if (!GetEquippedWeapon().IsEmpty()) RareDrops.Add(GetEquippedWeapon()); - AddRandomRareDropItem(a_Drops, RareDrops, LootingLevel); + AddRandomWeaponDropItem(a_Drops, LootingLevel); } |