mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
wip new tasks, readme fix
This commit is contained in:
parent
22603a9085
commit
1b85ffd4c6
5 changed files with 68 additions and 3 deletions
|
|
@ -15,7 +15,8 @@ abstract class Creature extends Living{
|
|||
//$this->setName((isset($mobs[$this->type]) ? $mobs[$this->type]:$this->type));
|
||||
if(Entity::$updateOnTick){
|
||||
$this->ai->addTask(new TaskLookAround());
|
||||
$this->ai->addTask(new TaskRandomWalk());
|
||||
$this->ai->addTask(new TaskRandomWalk());
|
||||
//$this->ai->addTask(new TaskLookAtPlayer());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -66,4 +67,4 @@ abstract class Creature extends Living{
|
|||
$player->dataPacket($pk);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue