diff --git a/src/network/protocol/packet/SendInventoryPacket.php b/src/network/protocol/packet/SendInventoryPacket.php index 250d3abce..b868c250b 100644 --- a/src/network/protocol/packet/SendInventoryPacket.php +++ b/src/network/protocol/packet/SendInventoryPacket.php @@ -36,7 +36,7 @@ class SendInventoryPacket extends RakNetDataPacket{ for($s = 0; $s < $count and !$this->feof(); ++$s){ $this->slots[$s] = $this->getSlot(); } - if($this->windowid === 1){ //Armir is sent + if($this->windowid === 1){ //Armor is sent for($s = 0; $s < 4; ++$s){ $this->armor[$s] = $this->getSlot(); } diff --git a/src/network/protocol/packet/TakeItemEntity.php b/src/network/protocol/packet/TakeItemEntityPacket.php similarity index 100% rename from src/network/protocol/packet/TakeItemEntity.php rename to src/network/protocol/packet/TakeItemEntityPacket.php