|
@@ -375,13 +375,13 @@ public final class RequestActionUse extends L2GameClientPacket
|
|
|
}
|
|
|
break;
|
|
|
case 53: // move to target
|
|
|
- if (target != null && pet != null && pet != target && !pet.isMovementDisabled())
|
|
|
+ if (target != null && pet != null && pet != target && !pet.isMovementDisabled() && !pet.isBetrayed())
|
|
|
{
|
|
|
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(target.getX(), target.getY(), target.getZ(), 0));
|
|
|
}
|
|
|
break;
|
|
|
case 54: // move to target hatch/strider
|
|
|
- if (target != null && pet != null && pet != target && !pet.isMovementDisabled())
|
|
|
+ if (target != null && pet != null && pet != target && !pet.isMovementDisabled() && !pet.isBetrayed())
|
|
|
{
|
|
|
pet.getAI().setIntention(CtrlIntention.AI_INTENTION_MOVE_TO, new L2CharPosition(target.getX(), target.getY(), target.getZ(), 0));
|
|
|
}
|