From d3105007230e2958cb2c38d2df1c54a1c076918b Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 25 Dec 2014 12:20:27 +0100 Subject: [PATCH] exception fix --- core/Players/PlayerActions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/Players/PlayerActions.php b/core/Players/PlayerActions.php index f0300061..cc941627 100644 --- a/core/Players/PlayerActions.php +++ b/core/Players/PlayerActions.php @@ -106,6 +106,9 @@ class PlayerActions { } catch (ServerOptionsException $exception) { $this->forcePlayerToPlay($adminLogin, $targetLogin); return; + } catch (UnknownPlayerException $exception) { + $this->maniaControl->getChat()->sendException($exception, $admin); + return; } catch (GameModeException $exception) { $this->maniaControl->getChat()->sendException($exception, $admin); return;