Another NPE check for failure scenarios.
This commit is contained in:
parent
f4c1f4a3a1
commit
181338e9e2
|
@ -804,6 +804,8 @@ public class ComboPlugin implements PluginBase, PumpInterface, ConstraintsInterf
|
|||
}
|
||||
|
||||
private void checkForUnsafeUsage(CommandResult commandResult) {
|
||||
if (commandResult == null) return;
|
||||
|
||||
long lastViolation = 0;
|
||||
if (commandResult.state.unsafeUsageDetected) {
|
||||
lastViolation = System.currentTimeMillis();
|
||||
|
|
Loading…
Reference in a new issue