Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-04-22 21:50:43 +08:00
21 changed files with 1499 additions and 40 deletions

View File

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