@Override
    public void setForecast(String name, int forecast) {
        try {
            if (!inGame) {
                LOG.warn("Game has to be started before any forecasts can be set!");
                playermanager.sendErrorPacket(name, "Game has not been started yet!", ErrorReason.GAME_NOT_STARTED_YET);
                return;
            }
            table.setForecast(name, forecast);
        } catch (IOException e) {
            LOG.fatal("Could not send packet to client.");
        } catch (IllegalArgumentException e) {
            try {
                playermanager.sendErrorPacket(name, e.getMessage(), ErrorReason.FORECAST_ALREADY_SET);
            } catch (IOException e1) {
                LOG.fatal("Could not deliver message to Client.");
            }
        }
    }