mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
This commit is contained in:
@@ -618,7 +618,7 @@ void WorldSession::HandleMailCreateTextItem(WorldPackets::Mail::MailCreateTextIt
|
||||
if (m->messageType == MAIL_NORMAL)
|
||||
bodyItem->SetCreator(ObjectGuid::Create<HighGuid::Player>(m->sender));
|
||||
|
||||
bodyItem->AddItemFlag(ITEM_FIELD_FLAG_READABLE);
|
||||
bodyItem->SetItemFlag(ITEM_FIELD_FLAG_READABLE);
|
||||
|
||||
ItemPosCountVec dest;
|
||||
uint8 msg = _player->CanStoreItem(NULL_BAG, NULL_SLOT, dest, bodyItem, false);
|
||||
|
||||
Reference in New Issue
Block a user