mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Items: Implemented CreateTime item field and changed refund/soulbound trade timers to also count time offline
This commit is contained in:
@@ -529,12 +529,12 @@ void AuctionHouseMgr::LoadAuctions()
|
||||
}
|
||||
|
||||
Item* item = NewItemOrBag(proto);
|
||||
if (!item->LoadFromDB(itemGuid, ObjectGuid::Create<HighGuid::Player>(fields[51].GetUInt64()), fields, itemEntry))
|
||||
if (!item->LoadFromDB(itemGuid, ObjectGuid::Create<HighGuid::Player>(fields[52].GetUInt64()), fields, itemEntry))
|
||||
{
|
||||
delete item;
|
||||
continue;
|
||||
}
|
||||
uint32 auctionId = fields[52].GetUInt32();
|
||||
uint32 auctionId = fields[53].GetUInt32();
|
||||
itemsByAuction[auctionId].push_back(item);
|
||||
|
||||
++count;
|
||||
|
||||
Reference in New Issue
Block a user