mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed bug with flying detection, added panic task
This commit is contained in:
parent
7c47c852e2
commit
d7561ed1ba
10 changed files with 70 additions and 17 deletions
|
|
@ -32,7 +32,6 @@ class EntityAI
|
|||
console("[DEBUG] Adding new task...",true, true, 2);
|
||||
$this->tasks[$task->__toString()] = $task;
|
||||
}
|
||||
|
||||
public function removeTask($name){
|
||||
if(isset($this->tasks[$name])){
|
||||
unset($this->tasks[$name]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue