Update count and locale library

This commit is contained in:
PikaMug 2021-07-27 00:36:56 -04:00
parent 3e481a8214
commit f36a475077
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@
<dependency>
<groupId>com.github.PikaMug</groupId>
<artifactId>LocaleLib</artifactId>
<version>398781f85e</version>
<version>2.2</version>
</dependency>
<dependency>
<groupId>mysql</groupId>

View File

@ -1504,7 +1504,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
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;