Skip to content

Commit

Permalink
GetLevel deprecation.
Browse files Browse the repository at this point in the history
  • Loading branch information
heyitsbench committed Jul 28, 2024
1 parent 927a2b6 commit 7e4cd3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ptr_template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class createTemplate : public PlayerScript {
LOG_DEBUG("module", "Template ID {} entered, but no template info available for player {}!", index, player->GetGUID().ToString());
return MISSING_TEMPLATE_INFO;
}
if ((!(player->getLevel() == (player->getClass() != CLASS_DEATH_KNIGHT
if ((!(player->GetLevel() == (player->getClass() != CLASS_DEATH_KNIGHT
? sWorld->getIntConfig(CONFIG_START_PLAYER_LEVEL)
: sWorld->getIntConfig(CONFIG_START_HEROIC_PLAYER_LEVEL)))) && !(sConfigMgr->GetOption<bool>("LevelEnable", true)))
{
Expand Down

0 comments on commit 7e4cd3e

Please sign in to comment.