mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Merge branch '4.3.4' of github.com:TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
@@ -337,6 +337,11 @@ void WorldSession::HandleSendMail(WorldPacket& recvData)
|
||||
// If theres is an item, there is a one hour delivery delay if sent to another account's character.
|
||||
uint32 deliver_delay = needItemDelay ? sWorld->getIntConfig(CONFIG_MAIL_DELIVERY_DELAY) : 0;
|
||||
|
||||
// Mail sent between guild members arrives instantly if they have the guild perk "Guild Mail"
|
||||
if (Guild* guild = player->GetGuild())
|
||||
if (guild->GetLevel() >= 17 && guild->IsMember(receiverGuid))
|
||||
deliver_delay = 0;
|
||||
|
||||
// will delete item or place to receiver mail list
|
||||
draft
|
||||
.AddMoney(money)
|
||||
|
||||
Reference in New Issue
Block a user