This commit is contained in:
jens 2022-02-14 20:06:20 +01:00
parent 275091f9d7
commit c9d7399068
1 changed files with 3 additions and 0 deletions

View File

@ -351,7 +351,10 @@ public class Rule implements Comparable<Rule>
if(applies(context))
{
if(hasNotAppliedSinceLastExecution())
{
Miscellaneous.logEvent("i", "getsGreenLight()", "Rule " + getName() + " applies and has flipped since its last execution.", 4);
return true;
}
else
Miscellaneous.logEvent("i", "getsGreenLight()", "Rule " + getName() + " has not flipped since its last execution.", 4);
}