mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +01:00
Relist expired quests with ignore-locked-quests enabled, fixes #905
This commit is contained in:
parent
fcb0a1ace8
commit
1dfda4862a
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user