new ai task, fixes of old ones, php8 fixes

This commit is contained in:
GameHerobrine 2022-12-24 22:42:23 +03:00
parent a907a7cf5e
commit 80bdddb817
13 changed files with 1581 additions and 1458 deletions

View file

@ -16,7 +16,6 @@ abstract class Living extends Entity implements Damageable{
}
public function update(){
if($this->idleTime <= 0) {
$this->ai->updateTasks();
}