fix(Core/Characters): Fix crash on characters deletion with COD mails. (#18754)

fix(Core/Characters): Fix crash on characters deletion.
This commit is contained in:
Anton Popovichenko
2024-04-17 08:53:43 +02:00
committed by GitHub
parent ef0ebe38d0
commit 5386443388
2 changed files with 1 additions and 8 deletions

View File

@@ -640,13 +640,6 @@ 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