This commit is contained in:
kremsy 2014-08-13 21:35:05 +02:00
parent 9cc16a2fb5
commit 20be0f853b

View File

@ -228,6 +228,12 @@ class MapQueue implements CallbackListener, CommandListener {
} }
} }
/**
* Adds a Map to the Map-Queue from Plugins or whatever
*
* @param $uid
* @return bool
*/
public function serverAddMapToMapQueue($uid) { public function serverAddMapToMapQueue($uid) {
$map = $this->maniaControl->getMapManager()->getMapByUid($uid); $map = $this->maniaControl->getMapManager()->getMapByUid($uid);