Commented version check, because of updates towards MP2 MCs

This commit is contained in:
Max Klaversma 2014-04-14 12:26:21 +02:00 committed by Steffen Schröder
parent 4439d92d75
commit 8a6726dad1

View File

@ -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);