mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Fixed set up wizard not updating the memory
This commit is contained in:
parent
5dd7727548
commit
1f8e25710d
@ -96,7 +96,7 @@ LICENSE;
|
||||
$config->set("server-port", $port);
|
||||
echo "[*] ".$this->lang->ram_warning."\n";
|
||||
echo "[?] ".$this->lang->server_ram." (".self::DEFAULT_MEMORY."): ";
|
||||
$config->set("gamemode", ((int) $this->getInput(self::DEFAULT_MEMORY))."M");
|
||||
$config->set("memory-limit", ((int) $this->getInput(self::DEFAULT_MEMORY))."M");
|
||||
echo "[*] ".$this->lang->gamemode_info."\n";
|
||||
do{
|
||||
echo "[?] ".$this->lang->default_gamemode.": (".self::DEFAULT_GAMEMODE."): ";
|
||||
@ -284,4 +284,4 @@ LICENSE;
|
||||
}
|
||||
|
||||
}
|
||||
/***REM_END***/
|
||||
/***REM_END***/
|
||||
|
Loading…
x
Reference in New Issue
Block a user