mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Fixed extremely stupid zero-length bug in BinaryStream
pls don't kill me 😢
This commit is contained in:
@ -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(){
|
||||
|
Reference in New Issue
Block a user