diff --git a/src/pocketmine/network/RakLibInterface.php b/src/pocketmine/network/RakLibInterface.php index 46ec7ef80..7ff61e331 100644 --- a/src/pocketmine/network/RakLibInterface.php +++ b/src/pocketmine/network/RakLibInterface.php @@ -170,7 +170,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{ $info = $this->server->getQueryInformation(); $this->interface->sendOption("name", - "MCPE;" . addcslashes($name, ";") . ";" . + "MCPE;" . rtrim(addcslashes($name, ";"), '\\') . ";" . Info::CURRENT_PROTOCOL . ";" . Info::MINECRAFT_VERSION_NETWORK . ";" . $info->getPlayerCount() . ";" .