private int pickAmount() {
        Random rand = new Random();
        if (itemQuality == quality.poor) {
            return rand.nextInt(config.getPoorMaxAmount() - config.getPoorMinAmount() + 1) + config.getPoorMinAmount();
        } else if (itemQuality == quality.average) {
            return rand.nextInt(config.getAverageMaxAmount() - config.getAverageMinAmount() + 1) + config.getAverageMinAmount();
        } else if (itemQuality == quality.good) {
            return rand.nextInt(config.getGoodMaxAmount() - config.getGoodMinAmount() + 1) + config.getGoodMinAmount();
        } else if (itemQuality == quality.top) {
            return rand.nextInt(config.getTopMaxAmount() - config.getTopMinAmount() + 1) + config.getTopMinAmount();
        }
        return 0;
    }