private String pickItem() {
        Random rand = new Random();
        int num = rand.nextInt(config.getPoorChance() + config.getAverageChance() + config.getGoodChance() + config.getTopChance()) + 1;
        if (num <= config.getPoorChance()) {
            itemQuality = quality.poor;
            return config.getPoorItems().get(rand.nextInt(config.getPoorItems().size()));
        } else if (num <= (config.getPoorChance() + config.getAverageChance())) {
            itemQuality = quality.average;
            return config.getAverageItems().get(rand.nextInt(config.getAverageItems().size()));
        } else if (num <= (config.getPoorChance() + config.getAverageChance() + config.getGoodChance())) {
            itemQuality = quality.good;
            return config.getGoodItems().get(rand.nextInt(config.getGoodItems().size()));
        } else if (num <= (config.getPoorChance() + config.getAverageChance() + config.getGoodChance() + config.getTopChance())) {
            itemQuality = quality.top;
            return config.getTopItems().get(rand.nextInt(config.getTopItems().size()));
        }
        return null;
    }