Remove server codename

This has long been a waste of time and creativity, and that's only going to continue to be the case now that we're going to be properly versioning. New codenames every couple of months is not worth the bother.
This commit is contained in:
Dylan K. Taylor 2018-06-12 10:51:49 +01:00
parent c3c360f589
commit 0b9ce8a0d4
4 changed files with 1 additions and 11 deletions

View File

@ -81,7 +81,6 @@ namespace pocketmine {
const NAME = "PocketMine-MP";
const VERSION = "1.7dev";
const API_VERSION = "3.0.0";
const CODENAME = "[REDACTED]";
const MIN_PHP_VERSION = "7.2.0";

View File

@ -309,13 +309,6 @@ class Server{
return \pocketmine\VERSION;
}
/**
* @return string
*/
public function getCodename() : string{
return \pocketmine\CODENAME;
}
/**
* @return string
*/
@ -1611,7 +1604,6 @@ class Server{
$this->logger->info($this->getLanguage()->translateString("pocketmine.server.info", [
$this->getName(),
($version->isDev() ? TextFormat::YELLOW : "") . $version->get(true) . TextFormat::RESET,
$this->getCodename(),
$this->getApiVersion()
]));
$this->logger->info($this->getLanguage()->translateString("pocketmine.server.license", [$this->getName()]));

View File

@ -50,7 +50,6 @@ class VersionCommand extends VanillaCommand{
$sender->sendMessage(new TranslationContainer("pocketmine.server.info.extended", [
$sender->getServer()->getName(),
$sender->getServer()->getPocketMineVersion(),
$sender->getServer()->getCodename(),
$sender->getServer()->getApiVersion(),
$sender->getServer()->getVersion(),
ProtocolInfo::CURRENT_PROTOCOL

@ -1 +1 @@
Subproject commit 22697bf0bcde0a9906f765b2a41522db844367ef
Subproject commit 0d93f4e8a9fd5f4e0cb779d83358fb2df6c48611