mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
fix(Core/AuctionHouse): fix crash in BuildListAuctionItems (#17222)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/17150
This commit is contained in:
@@ -761,6 +761,9 @@ bool AuctionHouseObject::BuildListAuctionItems(WorldPacket& data, Player* player
|
||||
}
|
||||
|
||||
AuctionEntry* Aentry = itr->second;
|
||||
if (!Aentry)
|
||||
return false;
|
||||
|
||||
// Skip expired auctions
|
||||
if (Aentry->expire_time < curTime.count())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user