Skip to content

Commit

Permalink
getLevel -> GetLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu committed Jul 19, 2024
1 parent f80d755 commit a174835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Bracket_1_19/scripts/events/brewfest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ class npc_brewfest_dungeonmaster : public CreatureScript
{
if (Player* player = itr->GetSource())
{
if (player->getLevel() < 55 && sConfigMgr->GetOption<bool>("ProgressionSystem.Bracket_1_19", false))
if (player->GetLevel() < 55 && sConfigMgr->GetOption<bool>("ProgressionSystem.Bracket_1_19", false))
_canTeleport = false;
else if (player->getLevel() < 65 && sConfigMgr->GetOption<bool>("ProgressionSystem.Bracket_70_1_1", false))
else if (player->GetLevel() < 65 && sConfigMgr->GetOption<bool>("ProgressionSystem.Bracket_70_1_1", false))
_canTeleport = false;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Bracket_1_19/scripts/events/love_in_air.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class npc_lita_dungeonmaster : public CreatureScript
{
if (Player* player = itr->GetSource())
{
if (player->getLevel() < 55)
if (player->GetLevel() < 55)
_canTeleport = false;
}
}
Expand Down Expand Up @@ -392,7 +392,7 @@ class npc_lita_investigator : public CreatureScript
if (creature->IsQuestGiver())
player->PrepareQuestMenu(creature->GetGUID());

if (player->getLevel() >= 55)
if (player->GetLevel() >= 55)
AddGossipItemFor(player, GOSSIP_ICON_CHAT, "Send me back to my capital city.", GOSSIP_SENDER_MAIN, 100);

SendGossipMenuFor(player, 15310, creature);
Expand Down

0 comments on commit a174835

Please sign in to comment.