Fixed casing: Gamemode -> GameMode

it's two words, not one.
This commit is contained in:
Dylan K. Taylor
2019-01-12 16:19:31 +00:00
parent a756519e6b
commit 27761ac26e
6 changed files with 22 additions and 22 deletions

View File

@ -23,7 +23,7 @@ declare(strict_types=1);
namespace pocketmine\network\mcpe;
use pocketmine\Gamemode;
use pocketmine\GameMode;
use pocketmine\network\AdvancedNetworkInterface;
use pocketmine\network\mcpe\protocol\ProtocolInfo;
use pocketmine\network\Network;
@ -197,7 +197,7 @@ class RakLibInterface implements ServerInstance, AdvancedNetworkInterface{
$info->getMaxPlayerCount(),
$this->rakLib->getServerId(),
$this->server->getName(),
Gamemode::toString($this->server->getGamemode())
GameMode::toString($this->server->getGamemode())
]) . ";"
);
}