temp try fix crash

This commit is contained in:
kremsy 2014-04-20 18:44:12 +02:00 committed by Steffen Schröder
parent 10bbd5383f
commit a54bf3dd19

View File

@ -416,10 +416,10 @@ class QueuePlugin implements CallbackListener, CommandListener, ManialinkPageAns
* @param Player $player * @param Player $player
*/ */
private function showJoinQueueWidget(Player $player) { private function showJoinQueueWidget(Player $player) {
if($this->maniaControl->client->getServerPassword() != false && $this->maniaControl->settingManager->getSetting($this, self::QUEUE_ACTIVE_ON_PASS) == false) { /*if($this->maniaControl->client->getServerPassword() != false && $this->maniaControl->settingManager->getSetting($this, self::QUEUE_ACTIVE_ON_PASS) == false) {
$this->hideQueueWidget($player); $this->hideQueueWidget($player);
return; return;
} }*/
$maniaLink = new ManiaLink(self::ML_ID); $maniaLink = new ManiaLink(self::ML_ID);