test movement added

This commit is contained in:
GameHerobrine 2024-01-09 07:36:14 +03:00
parent 5161d087ba
commit 1ac7179a97
11 changed files with 91 additions and 87 deletions

View file

@ -21,7 +21,7 @@ class TaskDestroyServerPerformance extends TaskTempt
return;
}
if(Utils::distance_noroot($this->target, $ai->entity) > 100){
$ai->mobController->moveTo($this->target->x, floor($ai->entity->y), $this->target->z, false);
//TODO fix $ai->mobController->moveTo($this->target->x, floor($ai->entity->y), $this->target->z, false);
}else{
}