From fad0ce038ac62ded31e91e041060d3e3be8fb9bf Mon Sep 17 00:00:00 2001 From: yefengeeeeeeeeeee <403749250@qq.com> Date: Mon, 24 Aug 2026 17:54:49 +0800 Subject: [PATCH] Typo fix --- src/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;