mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Fixed Hardcore flags
This commit is contained in:
parent
b564868467
commit
8d00ef381d
2 changed files with 4 additions and 1 deletions
|
|
@ -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(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue