From 4cb953e2bb03470c91c57041a3b601e70a01f702 Mon Sep 17 00:00:00 2001 From: asofold Date: Fri, 9 Nov 2012 11:08:03 +0100 Subject: [PATCH] Change DummyAction to always execute. there shpould not be any history for this, so execute it always. --- .../actions/types/DummyAction.java | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/actions/types/DummyAction.java b/src/fr/neatmonster/nocheatplus/actions/types/DummyAction.java index dd17162a..7e2a24a2 100644 --- a/src/fr/neatmonster/nocheatplus/actions/types/DummyAction.java +++ b/src/fr/neatmonster/nocheatplus/actions/types/DummyAction.java @@ -21,16 +21,16 @@ public class DummyAction extends Action { /** The original string used for this action definition. */ protected final String definition; - /** - * Instantiates a new dummy. - * - * @param definition - * the definition - */ - public DummyAction(final String definition) { - super("dummyAction", 10000, 10000); - this.definition = definition; - } + /** + * Instantiates a new dummy. + * + * @param definition + * the definition + */ + public DummyAction(final String definition) { + super("dummyAction", 0, 0); + this.definition = definition; + } /* (non-Javadoc) * @see fr.neatmonster.nocheatplus.actions.Action#execute(fr.neatmonster.nocheatplus.checks.ViolationData) @@ -47,4 +47,5 @@ public class DummyAction extends Action { public String toString() { return definition; } + }