dont use lookOn in lookatplayer

This commit is contained in:
GameHerobrine 2024-07-27 14:40:43 +03:00
parent 55aa7ca2b7
commit 17c2fdb046

View file

@ -33,7 +33,6 @@ class TaskLookAtPlayer extends TaskBase{
return;
}
$ai->mobController->setLookPosition($this->target->x, $this->target->y + $this->target->getEyeHeight(), $this->target->z, 10, $ai->entity->getVerticalFaceSpeed());
$ai->mobController->lookOn($this->target);
$this->selfCounter--;
}