added unkown command to gamemodeexception

This commit is contained in:
kremsy
2020-03-28 18:08:05 +01:00
parent 68edd009fc
commit ed250af546
3 changed files with 5 additions and 3 deletions

View File

@ -525,7 +525,7 @@ class CustomVotesPlugin implements SidebarMenuEntryListener, CommandListener, Ca
//Gamemodes like Elite, Speedball
$this->maniaControl->getClient()->sendModeScriptCommands(array('Command_ForceWarmUp' => true));
$this->maniaControl->getChat()->sendInformation('$f8fVote to $fffpause the current Game$f8f has been successful!');
} catch (GameModeException | FaultException $ex) {
} catch (GameModeException $ex) {
}
//TODO verify if not everything is replaced through the new pause