mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
@@ -49,11 +49,11 @@ bool ScriptMgr::CanUnlearnSpellSet(Pet* pet, uint32 level, uint32 spell)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ScriptMgr::CanUnlearnSpellDefault(Pet* pet, SpellInfo const* spellEntry)
|
||||
bool ScriptMgr::CanUnlearnSpellDefault(Pet* pet, SpellInfo const* spellInfo)
|
||||
{
|
||||
auto ret = IsValidBoolScript<PetScript>([&](PetScript* script)
|
||||
{
|
||||
return !script->CanUnlearnSpellDefault(pet, spellEntry);
|
||||
return !script->CanUnlearnSpellDefault(pet, spellInfo);
|
||||
});
|
||||
|
||||
if (ret && *ret)
|
||||
|
||||
Reference in New Issue
Block a user