temp try fix crash
This commit is contained in:
		
				
					committed by
					
						 Steffen Schröder
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							10bbd5383f
						
					
				
				
					commit
					a54bf3dd19
				
			| @@ -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); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user