mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
SetupWizard: use constant for default gamemode
This commit is contained in:
parent
d9eac8fc0a
commit
b961b4e003
@ -28,6 +28,7 @@ declare(strict_types=1);
|
||||
namespace pocketmine\wizard;
|
||||
|
||||
use pocketmine\lang\BaseLang;
|
||||
use pocketmine\Player;
|
||||
use pocketmine\utils\Config;
|
||||
use pocketmine\utils\Internet;
|
||||
use pocketmine\utils\InternetException;
|
||||
@ -45,7 +46,7 @@ class SetupWizard{
|
||||
public const DEFAULT_NAME = \pocketmine\NAME . " Server";
|
||||
public const DEFAULT_PORT = 19132;
|
||||
public const DEFAULT_PLAYERS = 20;
|
||||
public const DEFAULT_GAMEMODE = 0;
|
||||
public const DEFAULT_GAMEMODE = Player::SURVIVAL;
|
||||
|
||||
/** @var BaseLang */
|
||||
private $lang;
|
||||
|
Loading…
x
Reference in New Issue
Block a user