This commit is contained in:
GameHerobrine 2023-04-03 23:49:06 +03:00
parent 0d1fb47898
commit 8bb5667a55
2 changed files with 47 additions and 1 deletions

View file

@ -17,7 +17,7 @@ class Sheep extends Animal{
}elseif($this->isBaby() and Entity::$updateOnTick){
$this->server->schedule(mt_rand(400, 1000), [$this, "eatGrass"], null, true); //unknown time
}*/
$this->ai->addTask(new TasKEatTileGoal());
$this->ai->addTask(new TaskEatTileGoal());
}
public function createSaveData(){
$data = parent::createSaveData();