mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
dont use lookOn in lookatplayer
This commit is contained in:
parent
55aa7ca2b7
commit
17c2fdb046
1 changed files with 0 additions and 1 deletions
|
|
@ -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--;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue