mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fixed and reverted
This commit is contained in:
parent
bfc653a911
commit
5b8aee19fa
5 changed files with 12 additions and 12 deletions
|
|
@ -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);
|
||||
$ai->mobController->moveTo($this->target->x, floor($ai->entity->y), $this->target->z, false);
|
||||
}else{
|
||||
//TODO move away
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue