mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Network: Added RawPacketHandler interface, query handler is now a component
This commit is contained in:
@ -187,7 +187,7 @@ class RakLibInterface implements ServerInstance, AdvancedNetworkInterface{
|
||||
}
|
||||
|
||||
public function handleRaw(string $address, int $port, string $payload) : void{
|
||||
$this->server->handlePacket($this, $address, $port, $payload);
|
||||
$this->network->processRawPacket($this, $address, $port, $payload);
|
||||
}
|
||||
|
||||
public function sendRawPacket(string $address, int $port, string $payload) : void{
|
||||
|
Reference in New Issue
Block a user