Merge commit '6422ed7'

# Conflicts:
#	resources/vanilla
#	src/pocketmine/network/mcpe/RakLibInterface.php
This commit is contained in:
Dylan K. Taylor 2020-04-18 13:55:35 +01:00
commit 49a71ff4f8

View File

@ -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);