diff --git a/src/entity/Creature.php b/src/entity/Creature.php index 869cad49..93a7dd8b 100644 --- a/src/entity/Creature.php +++ b/src/entity/Creature.php @@ -20,7 +20,7 @@ abstract class Creature extends Living{ } public function update(){ - i/*f($this->path === false || count($this->path) <= 0){ + /*if($this->path === false || count($this->path) <= 0){ $this->path = $this->pathFinder->findPath(MinecraftNode::fromArray([$this->x, $this->y, $this->z]), new MinecraftNode($this->x + mt_rand(-7, 7), $this->y, $this->z + mt_rand(-7, 7))); } $state = $this->pathNavigator->followPath($this->path);