mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Fixed extremely stupid zero-length bug in BinaryStream
pls don't kill me 😢
This commit is contained in:
@ -53,7 +53,7 @@ class UpdateTradePacket extends DataPacket{
|
||||
$this->traderEid = $this->getEntityUniqueId();
|
||||
$this->playerEid = $this->getEntityUniqueId();
|
||||
$this->displayName = $this->getString();
|
||||
$this->offers = $this->get(0);
|
||||
$this->offers = $this->getRemaining();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user