mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added class method DataPacket->canBeBatched()
This commit is contained in:
@ -31,6 +31,10 @@ class BatchPacket extends DataPacket{
|
||||
|
||||
public $payload;
|
||||
|
||||
public function canBeBatched() : bool{
|
||||
return false;
|
||||
}
|
||||
|
||||
public function decode(){
|
||||
$this->payload = $this->getString();
|
||||
}
|
||||
|
Reference in New Issue
Block a user