add (core): Dismount Helper (#15511)
This commit is contained in:
parent
5aedad4beb
commit
1d5092d37f
1 changed files with 1 additions and 1 deletions
|
|
@ -13473,7 +13473,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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue