Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_2_QUEST_BOUND_ITEM that makes required items not be stored in inventory
Port From (https://github.com/TrinityCore/TrinityCore/commit/4dce6ab228c54319032b346d2d791262eac3d9cd)
This commit is contained in:
@@ -4589,12 +4589,8 @@ namespace Game.Spells
|
||||
}
|
||||
|
||||
Item newitem = plCaster.StoreNewItem(dest, GetSpellEffectInfo().ItemType, true);
|
||||
if (newitem == null)
|
||||
{
|
||||
plCaster.SendEquipError(InventoryResult.ItemNotFound);
|
||||
return;
|
||||
}
|
||||
plCaster.SendNewItem(newitem, count, true, true);
|
||||
if (newitem != null)
|
||||
plCaster.SendNewItem(newitem, count, true, true);
|
||||
}
|
||||
|
||||
[AuraEffectHandler(AuraType.BindSight)]
|
||||
|
||||
Reference in New Issue
Block a user