Merge branch 'azerothcore:master' into Playerbot

This commit is contained in:
ZhengPeiRu21
2023-01-19 11:57:25 -07:00
committed by GitHub
30 changed files with 15297 additions and 19 deletions

View File

@@ -653,6 +653,8 @@ void WorldSession::HandleCharDeleteOpcode(WorldPacket& recvData)
sCalendarMgr->RemoveAllPlayerEventsAndInvites(guid);
Player::DeleteFromDB(guid.GetCounter(), GetAccountId(), true, false);
sWorld->UpdateRealmCharCount(GetAccountId());
SendCharDelete(CHAR_DELETE_SUCCESS);
}