Skip to content

Commit 166e2eb

Browse files
authored
fix: build (#53)
1 parent c799a95 commit 166e2eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mod_learnspells.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class LearnSpellsOnLevelUp : public PlayerScript
1111
public:
1212
LearnSpellsOnLevelUp() : PlayerScript("LearnSpellsOnLevelUp") { }
1313

14-
void OnFirstLogin(Player* player) override
14+
void OnPlayerFirstLogin(Player* player) override
1515
{
1616
if (sConfigMgr->GetOption<bool>("LearnSpells.OnFirstLogin", 0))
1717
{
@@ -26,7 +26,7 @@ class LearnSpellsOnLevelUp : public PlayerScript
2626
}
2727
}
2828

29-
void OnLevelChanged(Player* player, uint8 oldLevel) override
29+
void OnPlayerLevelChanged(Player* player, uint8 oldLevel) override
3030
{
3131
if (sConfigMgr->GetOption<bool>("LearnSpells.Enable", true))
3232
{

0 commit comments

Comments
 (0)