mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Isolate and always show IP details on install
This commit is contained in:
parent
8564912149
commit
b02f3f4090
@ -92,6 +92,7 @@ class SetupWizard{
|
||||
$config->save();
|
||||
|
||||
if(strtolower($this->getInput($this->lang->get("skip_installer"), "n", "y/N")) === "y"){
|
||||
$this->IPDetails();
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -101,6 +102,7 @@ class SetupWizard{
|
||||
$this->generateUserFiles();
|
||||
|
||||
$this->networkFunctions();
|
||||
$this->IPDetails();
|
||||
|
||||
$this->endWizard();
|
||||
|
||||
@ -218,7 +220,9 @@ LICENSE;
|
||||
}
|
||||
|
||||
$config->save();
|
||||
|
||||
}
|
||||
|
||||
private function IPDetails() : void{
|
||||
$this->message($this->lang->get("ip_get"));
|
||||
|
||||
$externalIP = Internet::getIP();
|
||||
|
Loading…
x
Reference in New Issue
Block a user