mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Core/Creatures: Reverted quest requirement for vendors, this has to be done differently
This commit is contained in:
@@ -775,10 +775,7 @@ void WorldSession::SendListInventory(uint64 vendorGuid)
|
||||
|
||||
// Items sold out are not displayed in list
|
||||
uint32 leftInStock = !item->maxcount ? 0xFFFFFFFF : vendor->GetVendorItemCurrentCount(item);
|
||||
if (!leftInStock)
|
||||
continue;
|
||||
|
||||
if (itemTemplate->Class == ITEM_CLASS_QUEST && !_player->HasQuestForItem(item->item))
|
||||
if (!_player->isGameMaster() && !leftInStock)
|
||||
continue;
|
||||
|
||||
++count;
|
||||
|
||||
Reference in New Issue
Block a user