mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 23:43:44 +00:00
refactor(Core/Object): getLevel() -> GetLevel() (#14122)
* refactor(Core/Object): getLevel() -> GetLevel() * fix build and sneak some doxygen in * codeSTLE * codestyle
This commit is contained in:
@@ -6198,6 +6198,7 @@ void ObjectMgr::LoadQuestGreetings()
|
||||
LOG_INFO("server.loading", " ");
|
||||
}
|
||||
|
||||
/// @bug Does not load Locale greetings. See https://github.com/azerothcore/azerothcore-wotlk/issues/10913
|
||||
void ObjectMgr::LoadQuestGreetingsLocales()
|
||||
{
|
||||
uint32 oldMSTime = getMSTime();
|
||||
@@ -9872,7 +9873,7 @@ void ObjectMgr::SendServerMail(Player* player, uint32 id, uint32 reqLevel, uint3
|
||||
{
|
||||
if (active)
|
||||
{
|
||||
if (player->getLevel() < reqLevel)
|
||||
if (player->GetLevel() < reqLevel)
|
||||
return;
|
||||
|
||||
if (player->GetTotalPlayedTime() < reqPlayTime)
|
||||
|
||||
Reference in New Issue
Block a user