small typo fix

This commit is contained in:
GameHerobrine 2022-11-13 23:42:59 +03:00
parent 916a06c161
commit 54bdb8a244

View file

@ -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);