Use logical operator for override, fixes #1683

This commit is contained in:
PikaMug 2021-06-18 20:17:32 -04:00
parent 1644f18549
commit cefe3367f5

View File

@ -535,7 +535,7 @@ public class Quester implements Comparable<Quester> {
}
// If quest is not active, or new period of activity should override player cooldown, inform user
if (!active | (q.getPlanner().getOverride() && completedEnd > 0L
if (!active || (q.getPlanner().getOverride() && completedEnd > 0L
&& currentTime < (completedEnd /*+ repeat*/))) {
if (getPlayer().isOnline()) {
final String early = Lang.get("plnTooEarly")