Added chunk-sending.compression-level property

This commit is contained in:
Shoghi Cervantes
2014-06-17 14:34:14 +02:00
parent 266b78aa31
commit e8cc52f99e
2 changed files with 4 additions and 1 deletions

View File

@ -1371,6 +1371,8 @@ class Server{
$this->logger->info("Advanced cache enabled");
}
Level::$COMPRESSION_LEVEL = $this->getProperty("chunk-sending.compression-level", 7);
if(defined("pocketmine\\DEBUG") and \pocketmine\DEBUG >= 0 and function_exists("cli_set_process_title")){
@cli_set_process_title("PocketMine-MP " . $this->getPocketMineVersion());
}