fixes related to packets and entities

This commit is contained in:
GameHerobrine 2023-02-21 16:25:34 +03:00
parent abe7846bb9
commit 1ecbc1d308
6 changed files with 12 additions and 16 deletions

View file

@ -55,7 +55,7 @@ class EntityAI
}
public function updateTasks(){
if(!isset($entity) or !($this->entity instanceof Entity)){
if(!isset($this->entity) or !($this->entity instanceof Entity)){
return;
}
foreach($this->tasks as $t){