mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-18 09:51:17 +02:00
Change DummyAction to always execute.
there shpould not be any history for this, so execute it always.
This commit is contained in:
parent
c824f54c3d
commit
4cb953e2bb
@ -21,16 +21,16 @@ public class DummyAction extends Action {
|
|||||||
/** The original string used for this action definition. */
|
/** The original string used for this action definition. */
|
||||||
protected final String definition;
|
protected final String definition;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Instantiates a new dummy.
|
* Instantiates a new dummy.
|
||||||
*
|
*
|
||||||
* @param definition
|
* @param definition
|
||||||
* the definition
|
* the definition
|
||||||
*/
|
*/
|
||||||
public DummyAction(final String definition) {
|
public DummyAction(final String definition) {
|
||||||
super("dummyAction", 10000, 10000);
|
super("dummyAction", 0, 0);
|
||||||
this.definition = definition;
|
this.definition = definition;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see fr.neatmonster.nocheatplus.actions.Action#execute(fr.neatmonster.nocheatplus.checks.ViolationData)
|
* @see fr.neatmonster.nocheatplus.actions.Action#execute(fr.neatmonster.nocheatplus.checks.ViolationData)
|
||||||
@ -47,4 +47,5 @@ public class DummyAction extends Action {
|
|||||||
public String toString() {
|
public String toString() {
|
||||||
return definition;
|
return definition;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user