mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 04:47:45 +00:00
Update Item.cpp
This commit is contained in:
@@ -1283,9 +1283,9 @@ bool Item::CheckSoulboundTradeExpire()
|
|||||||
if (!owner)
|
if (!owner)
|
||||||
return true; // remove from tradeable list
|
return true; // remove from tradeable list
|
||||||
|
|
||||||
if (GetUInt32Value(ITEM_FIELD_CREATE_PLAYED_TIME) + 2 * HOUR < GetOwner()->GetTotalPlayedTime())
|
if (GetUInt32Value(ITEM_FIELD_CREATE_PLAYED_TIME) + 2 * HOUR < owner->GetTotalPlayedTime())
|
||||||
{
|
{
|
||||||
ClearSoulboundTradeable(GetOwner());
|
ClearSoulboundTradeable(owner);
|
||||||
return true; // remove from tradeable list
|
return true; // remove from tradeable list
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user