mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -635,6 +635,13 @@ void WorldSession::HandleCharDeleteOpcode(WorldPacket& recvData)
|
||||
accountId = playerData->AccountId;
|
||||
name = playerData->Name;
|
||||
level = playerData->Level;
|
||||
|
||||
// check mailbox
|
||||
if (playerData->MailCount)
|
||||
{
|
||||
SendCharDelete(CHAR_DELETE_FAILED);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// prevent deleting other players' characters using cheating tools
|
||||
|
||||
Reference in New Issue
Block a user