mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Unnecessary "?:"
This commit is contained in:
parent
4630481d54
commit
4eb6bd14a2
6 changed files with 9 additions and 9 deletions
|
|
@ -383,7 +383,7 @@ class Entity extends Position
|
|||
* @return boolean
|
||||
*/
|
||||
public function isPickable(){
|
||||
return $this->isPlayer() ? !$this->dead : false;
|
||||
return $this->isPlayer() && !$this->dead;
|
||||
}
|
||||
|
||||
public function handleLavaMovement(){ //TODO maybe try merging with water?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue