diff --git a/src/Player.php b/src/Player.php index 4c117c50..b68adcdd 100755 --- a/src/Player.php +++ b/src/Player.php @@ -881,7 +881,7 @@ class Player{ } if($player instanceof Player){ if($player === $this){ - if($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12 && !($this->armor[0]->getID() & $this->armor[1]->getID() & $this->armor[2]->getID() & $this->armor[3]->getID()) && isset($this->isOre[DIAMOND_HELMET])){ + if($this->PROTOCOL < ProtocolInfo12::CURRENT_PROTOCOL_12 && !($this->armor[0]->getID() || $this->armor[1]->getID() || $this->armor[2]->getID() || $this->armor[3]->getID()) && isset($this->isOre[DIAMOND_HELMET])){ for($i = 0 ; $i < 19 ; $i++){ $pk = new HurtArmorPacket(); $pk->health = 127;