mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 08:28:57 +01:00
Core/Pets: fixed command move to
This commit is contained in:
@@ -442,7 +442,7 @@ void PetAI::HandleReturnMovement()
|
||||
me->GetMotionMaster()->MovePoint(me->GetGUID().GetCounter(), x, y, z);
|
||||
}
|
||||
}
|
||||
else // COMMAND_FOLLOW
|
||||
else if (!me->GetCharmInfo()->HasCommandState(COMMAND_MOVE_TO))
|
||||
{
|
||||
if (!me->GetCharmInfo()->IsFollowing() && !me->GetCharmInfo()->IsReturning())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user