diff --git a/src/pocketmine/entity/Living.php b/src/pocketmine/entity/Living.php index f2d710877..74dd361f7 100644 --- a/src/pocketmine/entity/Living.php +++ b/src/pocketmine/entity/Living.php @@ -466,9 +466,7 @@ abstract class Living extends Entity implements Damageable{ } if(!$this->canBreathe()){ - if($this->isBreathing()){ - $this->setBreathing(false); - } + $this->setBreathing(false); $this->doAirSupplyTick($tickDiff); }elseif(!$this->isBreathing()){ $this->setBreathing(true);