mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
NetworkInterface: remove unused function
This commit is contained in:
@ -40,7 +40,6 @@ use raklib\server\ServerInstance;
|
||||
use raklib\utils\InternetAddress;
|
||||
use function addcslashes;
|
||||
use function bin2hex;
|
||||
use function count;
|
||||
use function implode;
|
||||
use function random_bytes;
|
||||
use function rtrim;
|
||||
@ -104,10 +103,6 @@ class RakLibInterface implements ServerInstance, AdvancedNetworkInterface{
|
||||
$this->server->getLogger()->debug("RakLib booted successfully");
|
||||
}
|
||||
|
||||
public function getConnectionCount() : int{
|
||||
return count($this->sessions);
|
||||
}
|
||||
|
||||
public function setNetwork(Network $network) : void{
|
||||
$this->network = $network;
|
||||
}
|
||||
|
Reference in New Issue
Block a user