Typehinted things in BinaryStream, sorted some methods and related bugfixes

This commit is contained in:
Dylan K. Taylor
2017-06-07 13:53:10 +01:00
parent e18a3ac933
commit 78c09267e5
10 changed files with 162 additions and 136 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(true);
$this->namedtag = $this->get(0);
}
public function encode(){