mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-14 14:45:41 +01:00
Update count for custom objectives
This commit is contained in:
parent
e0e54cde48
commit
02d359d6d5
@ -1300,7 +1300,7 @@ public class Quester implements Comparable<Quester> {
|
|||||||
for (final CustomObjective co : stage.customObjectives) {
|
for (final CustomObjective co : stage.customObjectives) {
|
||||||
int cleared = 0;
|
int cleared = 0;
|
||||||
if (data.customObjectiveCounts.size() > customIndex) {
|
if (data.customObjectiveCounts.size() > customIndex) {
|
||||||
cleared = data.sheepSheared.get(customIndex);
|
cleared = data.customObjectiveCounts.get(customIndex);
|
||||||
}
|
}
|
||||||
final int toClear = co.getCount();
|
final int toClear = co.getCount();
|
||||||
final ChatColor color = cleared < toClear ? ChatColor.GREEN : ChatColor.GRAY;
|
final ChatColor color = cleared < toClear ? ChatColor.GREEN : ChatColor.GRAY;
|
||||||
|
Loading…
Reference in New Issue
Block a user