Removed multi-catch for PHP5 and bumped MC-Version

This commit is contained in:
Alexander Nell 2020-04-21 17:37:42 +02:00
parent ed250af546
commit 324cbdce50
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener,
/*
* Constants
*/
const VERSION = '0.251';
const VERSION = '0.252';
const API_VERSION = '2013-04-16';
const MIN_DEDIVERSION = '2017-05-03_21_00';
const SCRIPT_TIMEOUT = 40;

View File

@ -236,7 +236,7 @@ class Commands implements CallbackListener, CommandListener, ManialinkPageAnswer
//Especially for chase, force end of the round to reach a draw
$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