mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Migrate final remaining EnumTrait users to native enums
This commit is contained in:
@ -271,8 +271,8 @@ class RakLibInterface implements ServerEventListener, AdvancedNetworkInterface{
|
||||
$this->rakServerId,
|
||||
$this->server->getName(),
|
||||
match($this->server->getGamemode()){
|
||||
GameMode::SURVIVAL() => "Survival",
|
||||
GameMode::ADVENTURE() => "Adventure",
|
||||
GameMode::SURVIVAL => "Survival",
|
||||
GameMode::ADVENTURE => "Adventure",
|
||||
default => "Creative"
|
||||
}
|
||||
]) . ";"
|
||||
|
Reference in New Issue
Block a user