mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 18:45:27 +01:00
Update count and locale library
This commit is contained in:
parent
3e481a8214
commit
f36a475077
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user