mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +00:00
RakLibServer: make all parameters mandatory
This commit is contained in:
parent
2ce6a87d05
commit
1003fde2fc
@ -72,18 +72,15 @@ class RakLibServer extends Thread{
|
||||
/** @var string|null */
|
||||
public $crashInfo = null;
|
||||
|
||||
/**
|
||||
* @param int|null $overrideProtocolVersion Optional custom protocol version to use, defaults to current RakLib's protocol
|
||||
*/
|
||||
public function __construct(
|
||||
\ThreadedLogger $logger,
|
||||
\Threaded $mainToThreadBuffer,
|
||||
\Threaded $threadToMainBuffer,
|
||||
InternetAddress $address,
|
||||
int $serverId,
|
||||
int $maxMtuSize = 1492,
|
||||
?int $overrideProtocolVersion = null,
|
||||
?SleeperNotifier $sleeper = null
|
||||
int $maxMtuSize,
|
||||
int $overrideProtocolVersion,
|
||||
SleeperNotifier $sleeper
|
||||
){
|
||||
$this->address = $address;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user