From 69831d2a97baf98caa82d2689e6d323af35931fe Mon Sep 17 00:00:00 2001 From: jackpoz Date: Sun, 13 Sep 2020 18:45:30 +0200 Subject: Core/PlayerDump: Update realmcharacters table when importing a character with ".pdump load" Fixes #24517 --- src/server/game/Tools/PlayerDump.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/server/game/Tools/PlayerDump.cpp b/src/server/game/Tools/PlayerDump.cpp index 445ad5b3c41..7bc573b11c0 100644 --- a/src/server/game/Tools/PlayerDump.cpp +++ b/src/server/game/Tools/PlayerDump.cpp @@ -963,5 +963,7 @@ DumpReturn PlayerDumpReader::LoadDump(std::string const& file, uint32 account, s if (incHighest) sObjectMgr->GetGenerator().Generate(); + sWorld->UpdateRealmCharCount(account); + return DUMP_SUCCESS; } -- cgit v1.2.3