mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 17:43:47 +00:00
chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks * update if * ) ) to )) * missed some ) ) * now switch * .
This commit is contained in:
@@ -462,7 +462,7 @@ void WorldSession::HandlePetActionHelper(Unit* pet, ObjectGuid guid1, uint32 spe
|
||||
spell->SendPetCastResult(SPELL_FAILED_DONT_REPORT);
|
||||
|
||||
if (!pet->HasSpellCooldown(spellId))
|
||||
if(pet->ToPet())
|
||||
if (pet->ToPet())
|
||||
pet->ToPet()->RemoveSpellCooldown(spellId, true);
|
||||
|
||||
spell->finish(false);
|
||||
|
||||
Reference in New Issue
Block a user