mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Typo fix
This commit is contained in:
parent
167498fa06
commit
fad0ce038a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue