Merge branch 'azerothcore:master' into Playerbot

This commit is contained in:
ZhengPeiRu21
2023-03-22 10:16:52 -06:00
committed by GitHub

View File

@@ -13490,7 +13490,7 @@ void Unit::Dismount()
if (Player* player = ToPlayer())
{
sScriptMgr->AnticheatSetUnderACKmount(player);
ToPlayer()->SetCanTeleport(true);
if (Pet* pPet = player->GetPet())
{
if (pPet->HasUnitFlag(UNIT_FLAG_STUNNED) && !pPet->HasUnitState(UNIT_STATE_STUNNED))