finished jukebox

This commit is contained in:
kremsy 2013-12-29 14:50:31 +01:00
parent b7b327a00b
commit 15b63c724a

View File

@ -37,7 +37,6 @@ class Jukebox implements CallbackListener, CommandListener {
public function __construct(ManiaControl $maniaControl) {
$this->maniaControl = $maniaControl;
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MC_BEGINMAP, $this,'beginMap');
$this->maniaControl->callbackManager->registerCallbackListener(CallbackManager::CB_MC_ENDMAP, $this,'endMap');
// Init settings
@ -76,7 +75,7 @@ class Jukebox implements CallbackListener, CommandListener {
//Check if the map is already juked
if(array_key_exists($uid, $this->jukedMaps)){
//TODO message map already juked
$this->maniaControl->chat->sendError('Map is already in the Jukebox', $login);
return;
}
@ -102,11 +101,6 @@ class Jukebox implements CallbackListener, CommandListener {
unset($this->jukedMaps[$uid]);
}
public function beginMap(){
}
/**
* Called on endmap