mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
Added debug.level
This commit is contained in:
parent
04917ecd5a
commit
4841e105d3
@ -1202,7 +1202,7 @@ class Server{
|
||||
$this->setConfigInt("difficulty", 3);
|
||||
}
|
||||
|
||||
define("pocketmine\\DEBUG", $this->getConfigInt("debug", 1));
|
||||
define("pocketmine\\DEBUG", $this->getConfigInt("debug.level", 1));
|
||||
define("ADVANCED_CACHE", $this->getConfigBoolean("enable-advanced-cache", false));
|
||||
define("MAX_CHUNK_RATE", 20 / $this->getConfigInt("max-chunks-per-second", 7)); //Default rate ~448 kB/s
|
||||
if(ADVANCED_CACHE == true){
|
||||
|
Loading…
x
Reference in New Issue
Block a user