Commented version check, because of updates towards MP2 MCs
This commit is contained in:
parent
4439d92d75
commit
8a6726dad1
@ -294,11 +294,12 @@ class ManiaControl implements CommandListener, TimerListener {
|
||||
// Connect to server
|
||||
$this->connect();
|
||||
|
||||
/* - Commented for now, because of updates towards MP2 MCs
|
||||
// Check if the version of the server is high enough
|
||||
$version = $this->client->getVersion();
|
||||
if($version->build < self::MIN_DEDIVERSION) {
|
||||
trigger_error("The server has version ".$version->build.", while at least ".self::MIN_DEDIVERSION." is required!", E_USER_ERROR);
|
||||
}
|
||||
}*/
|
||||
|
||||
// OnInit callback
|
||||
$this->callbackManager->triggerCallback(CallbackManager::CB_ONINIT);
|
||||
|
Loading…
Reference in New Issue
Block a user