Changed chunk-sending.per-second to chunk-sending.per-tick

This commit is contained in:
Shoghi Cervantes
2014-06-22 15:46:42 +02:00
parent bf49cafeae
commit 21f764590b
5 changed files with 51 additions and 53 deletions

View File

@ -1388,7 +1388,6 @@ class Server{
$this->logger->setLogDebug(\pocketmine\DEBUG > 1);
}
define("ADVANCED_CACHE", $this->getProperty("settings.advanced-cache", false));
define("MAX_CHUNK_RATE", ceil(20 / $this->getProperty("chunk-sending.per-second", 20)));
if(ADVANCED_CACHE == true){
$this->logger->info("Advanced cache enabled");
}