mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Added main-hard-limit memory property similar to old memory-limit, use less memory on startup (RakLib)
This commit is contained in:
@ -1646,12 +1646,6 @@ class Server{
|
||||
$this->maxPlayers = $this->getConfigInt("max-players", 20);
|
||||
$this->setAutoSave($this->getConfigBoolean("auto-save", true));
|
||||
|
||||
if($this->getConfigString("memory-limit", false) !== false){
|
||||
$this->logger->notice("The memory-limit setting has been deprecated.");
|
||||
$this->logger->notice("There are new memory settings on pocketmine.yml to tune memory and events.");
|
||||
$this->logger->notice("You can also reduce the amount of threads and chunks loaded control the memory usage.");
|
||||
}
|
||||
|
||||
if($this->getConfigBoolean("hardcore", false) === true and $this->getDifficulty() < 3){
|
||||
$this->setConfigInt("difficulty", 3);
|
||||
}
|
||||
|
Reference in New Issue
Block a user