mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
hopefully fixed yaw/pitch rotation + new ai task can be randomly executed now
This commit is contained in:
parent
1b85ffd4c6
commit
d9c096357a
7 changed files with 69 additions and 44 deletions
|
|
@ -16,7 +16,7 @@ abstract class Creature extends Living{
|
|||
if(Entity::$updateOnTick){
|
||||
$this->ai->addTask(new TaskLookAround());
|
||||
$this->ai->addTask(new TaskRandomWalk());
|
||||
//$this->ai->addTask(new TaskLookAtPlayer());
|
||||
$this->ai->addTask(new TaskLookAtPlayer());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue