mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
rail logic ported from 1.5.2, disabled 1 action in mobai
This commit is contained in:
parent
8bb5667a55
commit
218a000c41
6 changed files with 278 additions and 164 deletions
|
|
@ -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()); TODO enable after grass spread fix
|
||||
}
|
||||
public function createSaveData(){
|
||||
$data = parent::createSaveData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue