fixed exception on player unknown

This commit is contained in:
kremsy 2014-07-04 10:04:19 +02:00
parent ba2acca2c5
commit d80480a681

View File

@ -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;