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

Port From (https://github.com/TrinityCore/TrinityCore/commit/78698463ff6b20255148fb647e9ad33a487bb09d)
This commit is contained in:
hondacrx
2022-09-11 14:40:24 -04:00
parent f9b7f3fa9f
commit 595ac58013
4 changed files with 24 additions and 11 deletions
+1 -1
View File
@@ -6371,7 +6371,7 @@ namespace Game.Entities
if (loot_type == LootType.Pickpocketing)
{
if (loot.loot_type != LootType.Pickpocketing)
if (loot == null || loot.loot_type != LootType.Pickpocketing)
{
if (creature.CanGeneratePickPocketLoot())
{