mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Added RakLibInterface::setPacketLimit() (#3398)
This commit is contained in:
parent
06a9c98ded
commit
6422ed7722
@ -226,6 +226,10 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
$this->interface->sendOption("portChecking", $name);
|
||||
}
|
||||
|
||||
public function setPacketLimit(int $limit) : void{
|
||||
$this->interface->sendOption("packetLimit", $limit);
|
||||
}
|
||||
|
||||
public function handleOption(string $option, string $value) : void{
|
||||
if($option === "bandwidth"){
|
||||
$v = unserialize($value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user