mirror of
https://github.com/azerothcore/mod-learn-spells.git
synced 2026-01-13 00:58:37 +00:00
fix: build (#53)
This commit is contained in:
@@ -11,7 +11,7 @@ class LearnSpellsOnLevelUp : public PlayerScript
|
|||||||
public:
|
public:
|
||||||
LearnSpellsOnLevelUp() : PlayerScript("LearnSpellsOnLevelUp") { }
|
LearnSpellsOnLevelUp() : PlayerScript("LearnSpellsOnLevelUp") { }
|
||||||
|
|
||||||
void OnFirstLogin(Player* player) override
|
void OnPlayerFirstLogin(Player* player) override
|
||||||
{
|
{
|
||||||
if (sConfigMgr->GetOption<bool>("LearnSpells.OnFirstLogin", 0))
|
if (sConfigMgr->GetOption<bool>("LearnSpells.OnFirstLogin", 0))
|
||||||
{
|
{
|
||||||
@@ -26,7 +26,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnLevelChanged(Player* player, uint8 oldLevel) override
|
void OnPlayerLevelChanged(Player* player, uint8 oldLevel) override
|
||||||
{
|
{
|
||||||
if (sConfigMgr->GetOption<bool>("LearnSpells.Enable", true))
|
if (sConfigMgr->GetOption<bool>("LearnSpells.Enable", true))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user