diff --git a/src/pocketmine/network/protocol/ContainerSetSlotPacket.php b/src/pocketmine/network/protocol/ContainerSetSlotPacket.php index 43c4d1c34..bc385f34c 100644 --- a/src/pocketmine/network/protocol/ContainerSetSlotPacket.php +++ b/src/pocketmine/network/protocol/ContainerSetSlotPacket.php @@ -37,7 +37,7 @@ class ContainerSetSlotPacket extends DataPacket{ public function decode(){ $this->windowid = $this->getByte(); $this->slot = $this->getShort(); - $this->hotboarSlot = $this->getShort(); + $this->hotbarSlot = $this->getShort(); $this->item = $this->getSlot(); } @@ -49,4 +49,4 @@ public function encode(){ $this->putSlot($this->item); } -} \ No newline at end of file +}