Implemented Threaded ClassLoader, improves class loading while on different threads (no need to synchronize states)

This commit is contained in:
Shoghi Cervantes
2015-03-14 15:22:13 +01:00
parent 284958a21e
commit 11c13cd666
11 changed files with 31 additions and 54 deletions

View File

@@ -1489,8 +1489,7 @@ class Server{
$this->dataPath = realpath($dataPath) . DIRECTORY_SEPARATOR;
$this->pluginPath = realpath($pluginPath) . DIRECTORY_SEPARATOR;
$this->consoleThreaded = new \Threaded();
$this->console = new CommandReader($this->consoleThreaded);
$this->console = new CommandReader();
$version = new VersionString($this->getPocketMineVersion());
$this->logger->info("Starting Minecraft: PE server version " . TextFormat::AQUA . $this->getVersion());