mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Kill player below -16 as now the bottom of the world can be rendered, send player count
This commit is contained in:
@ -172,7 +172,13 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
|
||||
}
|
||||
|
||||
public function setName($name){
|
||||
$this->interface->sendOption("name", "MCPE;".addcslashes($name, ";").";".Info::CURRENT_PROTOCOL.";".\pocketmine\MINECRAFT_VERSION_NETWORK);
|
||||
$this->interface->sendOption("name",
|
||||
"MCPE;".addcslashes($name, ";") .";".
|
||||
Info::CURRENT_PROTOCOL.";".
|
||||
\pocketmine\MINECRAFT_VERSION_NETWORK.";".
|
||||
count($this->server->getOnlinePlayers()).";".
|
||||
$this->server->getMaxPlayers()
|
||||
);
|
||||
}
|
||||
|
||||
public function setPortCheck($name){
|
||||
|
Reference in New Issue
Block a user