mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01: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. */
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user