SetupWizard: disable spawn protection by default

we can't change anything else wrt. this on a patch version, disabling it in the main core by default involves possible behavioural breaks
This commit is contained in:
Dylan K. Taylor 2019-10-09 11:26:20 +01:00
parent 247875e3d5
commit 13994055d9

View File

@ -162,7 +162,7 @@ LICENSE;
$this->message($this->lang->get("spawn_protection_info"));
if(strtolower($this->getInput($this->lang->get("spawn_protection"), "y", "Y/n")) === "n"){
if(strtolower($this->getInput($this->lang->get("spawn_protection"), "n", "y/N")) === "n"){
$config->set("spawn-protection", -1);
}else{
$config->set("spawn-protection", 16);