Relist expired quests with ignore-locked-quests enabled, fixes #905

This commit is contained in:
PikaMug 2019-08-14 14:33:10 -04:00
parent fcb0a1ace8
commit 1dfda4862a

View File

@ -1281,6 +1281,10 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener
if (q.testRequirements(player)) { if (q.testRequirements(player)) {
available.add(q); available.add(q);
} }
} else if (q.getPlanner().hasCooldown() && quester.getCooldownDifference(q) < 0) {
if (q.testRequirements(player)) {
available.add(q);
}
} }
} }
if ((available.size() + rows) <= ((page * rows)) || available.size() == 0) { if ((available.size() + rows) <= ((page * rows)) || available.size() == 0) {