remove \pocketmine\START_TIME, add Server->getStartTime()

This commit is contained in:
Dylan K. Taylor
2019-08-25 16:25:27 +01:00
parent 647f86a5b8
commit ad0f100f8e
3 changed files with 13 additions and 5 deletions

View File

@@ -263,8 +263,6 @@ namespace pocketmine {
}
}
//TODO: move this to a Server field
define('pocketmine\START_TIME', microtime(true));
ThreadManager::init();
new Server($autoloader, $logger, \pocketmine\DATA, \pocketmine\PLUGIN_PATH);