fix(Core/Player): fix pet not appearing after dismount for warlock (#10899)

This commit is contained in:
Kargatum
2022-03-05 14:54:54 +07:00
committed by GitHub
parent bb2d31951b
commit acd3ed8759

View File

@@ -13774,7 +13774,7 @@ bool Player::CanResummonPet(uint32 spellid)
else if (spellid == 52150)
return false;
}
else if (getClass() == CLASS_HUNTER || getClass() == CLASS_MAGE)
else if (getClass() == CLASS_HUNTER || getClass() == CLASS_MAGE || getClass() == CLASS_WARLOCK)
return true;
if (!HasSpell(spellid))