mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
DataPacket: clean() returns $this, not void
This commit is contained in:
@@ -149,7 +149,7 @@ abstract class DataPacket extends NetworkBinaryStream{
|
|||||||
abstract public function handle(NetworkSession $session) : bool;
|
abstract public function handle(NetworkSession $session) : bool;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return void
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function clean(){
|
public function clean(){
|
||||||
$this->buffer = "";
|
$this->buffer = "";
|
||||||
|
Reference in New Issue
Block a user