diff --git a/src/pocketmine/wizard/SetupWizard.php b/src/pocketmine/wizard/SetupWizard.php index 8afc640a4..998080ad3 100644 --- a/src/pocketmine/wizard/SetupWizard.php +++ b/src/pocketmine/wizard/SetupWizard.php @@ -92,6 +92,7 @@ class SetupWizard{ $config->save(); if(strtolower($this->getInput($this->lang->get("skip_installer"), "n", "y/N")) === "y"){ + $this->printIpDetails(); return true; } @@ -101,6 +102,7 @@ class SetupWizard{ $this->generateUserFiles(); $this->networkFunctions(); + $this->printIpDetails(); $this->endWizard(); @@ -218,7 +220,9 @@ LICENSE; } $config->save(); - + } + + private function printIpDetails() : void{ $this->message($this->lang->get("ip_get")); $externalIP = Internet::getIP();