mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Fixed Hardcore flags
This commit is contained in:
@@ -270,6 +270,9 @@ class ServerAPI{
|
||||
}
|
||||
$this->config->set($n, $v);
|
||||
}
|
||||
if($this->getProperty("hardcore") == 1 and $this->getProperty("difficulty") < 3){
|
||||
$this->setProperty("difficulty", 3);
|
||||
}
|
||||
}
|
||||
|
||||
public function init(){
|
||||
|
Reference in New Issue
Block a user