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

@ -46,7 +46,7 @@ class BatchPacket extends DataPacket{
}
public function decode(){
$this->payload = $this->get(0);
$this->payload = $this->getRemaining();
}
public function encode(){