Update spell_item.cpp

This commit is contained in:
Kitzunu
2021-01-21 13:27:35 +01:00
parent 0fefb821d0
commit 7ddecfb4b3

View File

@@ -1563,11 +1563,7 @@ public:
bool Validate(SpellInfo const* /*spellInfo*/) override
{
if (!sSpellMgr->GetSpellInfo(SPELL_INSTANT_STATUE))
{
return false;
}
return true;
return static_cast<bool>(sSpellMgr->GetSpellInfo(SPELL_INSTANT_STATUE));
}
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)