Core/Spells: Remove all hardcoded restrictions for pick pocket spell effect and rely only on presence of pickpocket loot in db

This commit is contained in:
Shauren authored and Ovahlord committed 2022-10-04 12:42:10 +02:00
1 parent cf2bf7f77f
commit 0ca955897f
5 files changed
+28 -10

No files matched your search

+1 -1
View File
@@ -8597,7 +8597,7 @@ void Player::SendLoot(ObjectGuid guid, LootType loot_type)
loot = &creature->loot;
if (loot_type == LOOT_PICKPOCKETING)
if (!loot || loot->loot_type != LOOT_PICKPOCKETING)
{
if (loot->loot_type != LOOT_PICKPOCKETING)
{