Removed FolderPluginLoader, allow loading of plugins by other loaders

This commit is contained in:
Shoghi Cervantes
2014-04-03 02:34:57 +02:00
parent f71f10da0b
commit 61192b172b
3 changed files with 20 additions and 157 deletions

View File

@ -1225,7 +1225,6 @@ class Server{
$this->pluginManager = new PluginManager($this, $this->commandMap);
$this->pluginManager->subscribeToPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE, $this->consoleSender);
$this->pluginManager->registerInterface("pocketmine\\plugin\\PharPluginLoader");
$this->pluginManager->registerInterface("pocketmine\\plugin\\FolderPluginLoader");
$this->pluginManager->loadPlugins($this->pluginPath);
//TODO: update checking (async)