exception fix

This commit is contained in:
kremsy 2014-12-25 12:20:27 +01:00
parent 440d690279
commit d310500723

View File

@ -106,6 +106,9 @@ class PlayerActions {
} catch (ServerOptionsException $exception) { } catch (ServerOptionsException $exception) {
$this->forcePlayerToPlay($adminLogin, $targetLogin); $this->forcePlayerToPlay($adminLogin, $targetLogin);
return; return;
} catch (UnknownPlayerException $exception) {
$this->maniaControl->getChat()->sendException($exception, $admin);
return;
} catch (GameModeException $exception) { } catch (GameModeException $exception) {
$this->maniaControl->getChat()->sendException($exception, $admin); $this->maniaControl->getChat()->sendException($exception, $admin);
return; return;