mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Unnecessary ":?" (2)
This commit is contained in:
parent
0f26e45638
commit
69385e16f2
21 changed files with 36 additions and 48 deletions
|
|
@ -51,7 +51,7 @@ class EntityAI
|
|||
* @return TaskBase | false
|
||||
*/
|
||||
public function getTask($id){
|
||||
return isset($this->tasks[$id]) ? $this->tasks[$id] : false;
|
||||
return $this->tasks[$id] ?? false;
|
||||
}
|
||||
|
||||
public function isStarted($id){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue