From 324cbdce503b1b7d89235953055301e9d22ad94a Mon Sep 17 00:00:00 2001 From: Alexander Nell Date: Tue, 21 Apr 2020 17:37:42 +0200 Subject: [PATCH] Removed multi-catch for PHP5 and bumped MC-Version --- core/ManiaControl.php | 2 +- core/Server/Commands.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ManiaControl.php b/core/ManiaControl.php index f5a83926..9e8a42df 100644 --- a/core/ManiaControl.php +++ b/core/ManiaControl.php @@ -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; diff --git a/core/Server/Commands.php b/core/Server/Commands.php index 0608b7c8..882e31d2 100644 --- a/core/Server/Commands.php +++ b/core/Server/Commands.php @@ -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