mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +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:
@@ -284,7 +284,7 @@ void Battlefield::InvitePlayerToWar(Player* player)
|
||||
}
|
||||
|
||||
// If the player does not match minimal level requirements for the battlefield, kick him
|
||||
if (player->getLevel() < m_MinLevel)
|
||||
if (player->GetLevel() < m_MinLevel)
|
||||
{
|
||||
if (m_PlayersWillBeKick[player->GetTeamId()].count(player->GetGUID()) == 0)
|
||||
m_PlayersWillBeKick[player->GetTeamId()][player->GetGUID()] = GameTime::GetGameTime().count() + 10;
|
||||
|
||||
Reference in New Issue
Block a user