mirror of
https://github.com/azerothcore/mod-learn-spells.git
synced 2026-01-13 00:58:37 +00:00
fix(build): add casting to uint32
This commit is contained in:
@@ -233,7 +233,7 @@ class LearnSpellsOnLevelUp : public PlayerScript
|
||||
continue;
|
||||
if (DisableMgr::IsDisabledFor(DISABLE_TYPE_SPELL, spellInfo->Id, player))
|
||||
continue;
|
||||
if (spellInfo->BaseLevel != level && sSpellMgr->IsSpellValid(spellInfo))
|
||||
if (spellInfo->BaseLevel != uint32(level) && sSpellMgr->IsSpellValid(spellInfo))
|
||||
continue;
|
||||
|
||||
bool valid = false;
|
||||
|
||||
Reference in New Issue
Block a user