Core/Loot: fixed a cherrypick mistake that was causing all creatures to drop pickpocket loot only
This commit is contained in:
1 parent
3f51add635
commit
a13f955a82
1 file changed
+2
-2
@@ -8598,9 +8598,9 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
|
||||
|
||||
loot = &creature->loot;
|
||||
|
||||
if (!loot || loot->loot_type != LOOT_PICKPOCKETING)
|
||||
if (loot_type == LOOT_PICKPOCKETING)
|
||||
{
|
||||
if (loot->loot_type != LOOT_PICKPOCKETING)
|
||||
if (!loot || loot->loot_type != LOOT_PICKPOCKETING)
|
||||
{
|
||||
if (creature->CanGeneratePickPocketLoot())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user