Merge branch 'release/3.2'

This commit is contained in:
Dylan K. Taylor
2018-08-06 21:34:07 +01:00
3 changed files with 4 additions and 2 deletions

View File

@ -718,7 +718,7 @@ abstract class Living extends Entity implements Damageable{
* @return bool
*/
public function canBreathe() : bool{
return $this->hasEffect(Effect::WATER_BREATHING) or !$this->isUnderwater();
return $this->hasEffect(Effect::WATER_BREATHING) or $this->hasEffect(Effect::CONDUIT_POWER) or !$this->isUnderwater();
}
/**