Fixed a mistake in DropItemPacket encode

This commit is contained in:
Dylan K. Taylor 2017-06-02 17:52:10 +01:00
parent 087a994393
commit 8bb0e8d398

View File

@ -42,7 +42,7 @@ class DropItemPacket extends DataPacket{
public function encode(){
$this->reset();
$this->putByte($this->type);
$this->putByte($this->item);
$this->putSlot($this->item);
}
public function handle(NetworkSession $session) : bool{