mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 02:25:42 +01:00
Use logical operator for override, fixes #1683
This commit is contained in:
parent
1644f18549
commit
cefe3367f5
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user