Core/Loot: fixed a cherrypick mistake that was causing all creatures to drop pickpocket loot only

This commit is contained in:
Ovahlord committed 2022-10-08 10:03:31 +02:00
1 parent 3f51add635
commit a13f955a82
1 file changed
+2 -2
+2 -2
View File
@@ -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())
{