mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
fixes related to packets and entities
This commit is contained in:
parent
abe7846bb9
commit
1ecbc1d308
6 changed files with 12 additions and 16 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue