From d80480a681cb4dc83b74a7fbb7a0f2da8436f1a9 Mon Sep 17 00:00:00 2001 From: kremsy Date: Fri, 4 Jul 2014 10:04:19 +0200 Subject: [PATCH] fixed exception on player unknown --- application/core/Players/PlayerList.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/core/Players/PlayerList.php b/application/core/Players/PlayerList.php index 105f0704..d3d8135c 100644 --- a/application/core/Players/PlayerList.php +++ b/application/core/Players/PlayerList.php @@ -703,6 +703,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer $this->maniaControl->client->forceSpectator($target->login, PlayerActions::SPECTATOR_BUT_KEEP_SELECTABLE); $this->maniaControl->client->spectatorReleasePlayerSlot($target->login); } catch (PlayerStateException $e) { + } catch (UnknownPlayerException $e){ } }); break;