diff --git a/src/main/java/work/fking/masteringmixology/Goal.java b/src/main/java/work/fking/masteringmixology/Goal.java index 99f0ffa..645da1a 100644 --- a/src/main/java/work/fking/masteringmixology/Goal.java +++ b/src/main/java/work/fking/masteringmixology/Goal.java @@ -58,10 +58,11 @@ public void recalculate(MasteringMixologyConfig config, Client client) { .orElse(0); itemsAffordable = Math.min(minAffordable, rewardQuantity); - // Overall progress is the average of all component progress + // Overall progress is the minimum of all component progress + // as you can't buy rewards without completion of all components overallProgress = componentDataMap.values().stream() .mapToDouble(data -> data.percentageToGoal) - .average() + .min() .orElse(0.0); }