Removed multi-catch for PHP5 and bumped MC-Version
This commit is contained in:
		@@ -55,7 +55,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
 | 
				
			|||||||
	/*
 | 
						/*
 | 
				
			||||||
	 * Constants
 | 
						 * Constants
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	const VERSION                     = '0.251';
 | 
						const VERSION                     = '0.252';
 | 
				
			||||||
	const API_VERSION                 = '2013-04-16';
 | 
						const API_VERSION                 = '2013-04-16';
 | 
				
			||||||
	const MIN_DEDIVERSION             = '2017-05-03_21_00';
 | 
						const MIN_DEDIVERSION             = '2017-05-03_21_00';
 | 
				
			||||||
	const SCRIPT_TIMEOUT              = 40;
 | 
						const SCRIPT_TIMEOUT              = 40;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -236,7 +236,7 @@ class Commands implements CallbackListener, CommandListener, ManialinkPageAnswer
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
			//Especially for chase, force end of the round to reach a draw
 | 
								//Especially for chase, force end of the round to reach a draw
 | 
				
			||||||
			$this->maniaControl->getClient()->sendModeScriptCommands(array('Command_ForceEndRound' => true));
 | 
								$this->maniaControl->getClient()->sendModeScriptCommands(array('Command_ForceEndRound' => true));
 | 
				
			||||||
		} catch (GameModeException | FaultException $ex) {
 | 
							} catch (GameModeException $e) {
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//TODO verify if not everything is replaced through the new pause
 | 
							//TODO verify if not everything is replaced through the new pause
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user