Update count for custom objectives

This commit is contained in:
PikaMug 2021-07-27 05:48:46 -04:00
parent e0e54cde48
commit 02d359d6d5

View File

@ -1300,7 +1300,7 @@ public class Quester implements Comparable<Quester> {
for (final CustomObjective co : stage.customObjectives) {
int cleared = 0;
if (data.customObjectiveCounts.size() > customIndex) {
cleared = data.sheepSheared.get(customIndex);
cleared = data.customObjectiveCounts.get(customIndex);
}
final int toClear = co.getCount();
final ChatColor color = cleared < toClear ? ChatColor.GREEN : ChatColor.GRAY;