mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04:00
Core/Items: Add location filters to Player::GetItemByEntry
This commit is contained in:
@@ -2006,7 +2006,7 @@ void GameObject::Use(Unit* user)
|
||||
}
|
||||
case 2: // Heart Forge
|
||||
{
|
||||
Item const* item = player->GetItemByEntry(ITEM_ID_HEART_OF_AZEROTH);
|
||||
Item const* item = player->GetItemByEntry(ITEM_ID_HEART_OF_AZEROTH, ITEM_SEARCH_EVERYWHERE);
|
||||
if (!item)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user