mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-14 15:35:31 +00:00
Merge commit '6422ed7'
# Conflicts: # resources/vanilla # src/pocketmine/network/mcpe/RakLibInterface.php
This commit is contained in:
commit
49a71ff4f8
@ -232,6 +232,10 @@ class RakLibInterface implements ServerEventListener, AdvancedNetworkInterface{
|
||||
$this->interface->setOption("portChecking", $name);
|
||||
}
|
||||
|
||||
public function setPacketLimit(int $limit) : void{
|
||||
$this->interface->setOption("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