mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed a few wrong fields
This commit is contained in:
@ -27,7 +27,7 @@ class ContainerClosePacket extends RakNetDataPacket{
|
||||
}
|
||||
|
||||
public function decode(){
|
||||
$this->windowid = $this->getInt();
|
||||
$this->windowid = $this->getByte();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
@ -32,8 +32,8 @@ class RemoveBlockPacket extends RakNetDataPacket{
|
||||
public function decode(){
|
||||
$this->eid = $this->getInt();
|
||||
$this->x = $this->getInt();
|
||||
$this->y = $this->getInt();
|
||||
$this->z = $this->getInt();
|
||||
$this->y = $this->getByte();
|
||||
}
|
||||
|
||||
public function encode(){
|
||||
|
Reference in New Issue
Block a user