removed advanced cache

This commit is contained in:
GameHerobrine 2024-01-09 05:28:24 +03:00
parent 1bbe5c7582
commit 80d78faecd
5 changed files with 3 additions and 63 deletions

View file

@ -2,7 +2,7 @@
class QueryAPI{
public static $NOT_FOUND_VALUE;
public static $NOT_FOUND_VALUE; //TODO just use null
private $queryData;
private $server;

View file

@ -143,11 +143,8 @@ class ServerAPI{
Entity::$allowedAI = $this->getProperty("enable-mob-ai", true);
//Load advanced properties
define("DEBUG", $this->getProperty("debug", 1));
define("ADVANCED_CACHE", $this->getProperty("enable-advanced-cache", false));
define("ADVANCED_CACHE", false);
//define("MAX_CHUNK_RATE", 20 / $this->getProperty("max-chunks-per-second", 8)); //Default rate ~512 kB/s
if(ADVANCED_CACHE == true){
console("[INFO] Advanced cache enabled");
}
MobSpawner::$spawnAnimals = $this->getProperty("spawn-animals");
MobSpawner::$spawnMobs = $this->getProperty("spawn-mobs");
if($this->getProperty("upnp-forwarding") == true){