Core/PlayerDump: Update realmcharacters table when importing a character with ".pdump load"

Fixes #24517

(cherry picked from commit 69831d2a97)
This commit is contained in:
jackpoz
2020-09-13 18:45:30 +02:00
committed by Shauren
parent 111a80bbbf
commit a439dab179

View File

@@ -1060,5 +1060,7 @@ DumpReturn PlayerDumpReader::LoadDump(std::string const& file, uint32 account, s
if (incHighest)
sObjectMgr->GetGenerator<HighGuid::Player>().Generate();
sWorld->UpdateRealmCharCount(account);
return DUMP_SUCCESS;
}