feat(Core/Config): Improvements to config caching (#21647)

This commit is contained in:
Takenbacon
2025-06-30 08:14:12 -07:00
committed by GitHub
parent 904ddc72cc
commit fd262c3ab1
13 changed files with 1443 additions and 1555 deletions

View File

@@ -883,8 +883,9 @@ void WorldSession::HandlePlayerLoginFromDB(LoginQueryHolder const& holder)
pCurrChar->SendCinematicStart(rEntry->CinematicSequence);
// send new char string if not empty
if (!sWorld->GetNewCharString().empty())
chH.PSendSysMessage("{}", sWorld->GetNewCharString());
std::string_view newCharString = sWorld->getStringConfig(CONFIG_NEW_CHAR_STRING);
if (!newCharString.empty())
chH.PSendSysMessage("{}", newCharString);
}
}