diff --git a/src/API/ServerAPI.php b/src/API/ServerAPI.php index 58bb76dc..17f0d834 100644 --- a/src/API/ServerAPI.php +++ b/src/API/ServerAPI.php @@ -276,8 +276,7 @@ class ServerAPI{ public function init(){ if($this->getProperty("send-usage") !== false){ - $this->server->schedule(36000, array($this, "sendUsage"), array(), true); //Send usage data every 30 minutes - $this->server->schedule(6000, array($this, "sendUsage")); //Send the info after 5 minutes have passed + $this->server->schedule(6000, array($this, "sendUsage"), array(), true); //Send the info after 5 minutes have passed $this->sendUsage(); } diff --git a/src/config.php b/src/config.php index c3b08c54..cca0f789 100644 --- a/src/config.php +++ b/src/config.php @@ -65,7 +65,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . FILE_PATH); ini_set("memory_limit", "128M"); //Default define("LOG", true); define("START_TIME", microtime(true)); -define("MAJOR_VERSION", "Alpha_1.3.1"); +define("MAJOR_VERSION", "Alpha_1.3.2dev"); define("CURRENT_MINECRAFT_VERSION", "0.7.1 alpha"); define("CURRENT_API_VERSION", 9); define("CURRENT_PHP_VERSION", "5.5");