Fixed extremely stupid zero-length bug in BinaryStream

pls don't kill me 😢
This commit is contained in:
Dylan K. Taylor
2017-06-10 18:33:54 +01:00
parent 4765242397
commit 2024e9ecdf
6 changed files with 23 additions and 10 deletions

View File

@ -38,7 +38,7 @@ class BlockEntityDataPacket extends DataPacket{
public function decode(){
$this->getBlockPosition($this->x, $this->y, $this->z);
$this->namedtag = $this->get(0);
$this->namedtag = $this->getRemaining();
}
public function encode(){