mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-06 18:50:54 +01:00
Add Action.executesAlways .
This commit is contained in:
parent
6f41bad624
commit
eed05511a6
@ -65,4 +65,14 @@ public abstract class Action {
|
||||
public boolean needsParameters(){
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates that the action will be executed in any case (delay, repeat).
|
||||
* executed at all.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public boolean executesAlways() {
|
||||
return delay == 0 && repeat == 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user