mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Added RakLib port checking option
This commit is contained in:
@ -190,6 +190,10 @@ class RakLibInterface implements ServerInstance, SourceInterface{
|
||||
$this->interface->sendOption("name", "MCCPP;Demo;$name");
|
||||
}
|
||||
|
||||
public function setPortCheck($name){
|
||||
$this->interface->sendOption("portChecking", (bool) $name);
|
||||
}
|
||||
|
||||
public function handleOption($name, $value){
|
||||
if($name === "bandwidth"){
|
||||
$v = unserialize($value);
|
||||
|
Reference in New Issue
Block a user