removed oninits from the plugins
This commit is contained in:
committed by
Steffen Schröder
parent
30baf3e00d
commit
90b0579c17
@ -285,9 +285,6 @@ class ManiaControl implements CommandListener {
|
||||
public function run() {
|
||||
$this->log('Starting ManiaControl v' . self::VERSION . '!');
|
||||
|
||||
// Load plugins
|
||||
$this->pluginManager->loadPlugins();
|
||||
|
||||
// Connect to server
|
||||
$this->connect();
|
||||
|
||||
@ -297,6 +294,9 @@ class ManiaControl implements CommandListener {
|
||||
// OnInit callback
|
||||
$this->callbackManager->triggerCallback(CallbackManager::CB_MC_ONINIT, array(CallbackManager::CB_MC_ONINIT));
|
||||
|
||||
// Load plugins
|
||||
$this->pluginManager->loadPlugins();
|
||||
|
||||
// Announce ManiaControl
|
||||
$this->chat->sendInformation('ManiaControl v' . self::VERSION . ' successfully started!');
|
||||
|
||||
|
Reference in New Issue
Block a user