mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Cleaned up bool comparison mess
This commit is contained in:
@ -74,7 +74,7 @@ class Squid extends WaterAnimal{
|
||||
|
||||
|
||||
public function entityBaseTick(int $tickDiff = 1) : bool{
|
||||
if($this->closed !== false){
|
||||
if($this->closed){
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user