mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 04:05:13 +00:00
Some fixes
This commit is contained in:
1 parent
d70face418
commit
9590f9ffff
2 files changed
+13
-12
No files matched your search
@@ -31,6 +31,19 @@ public interface IConditionalAction extends IAction {
|
||||
*/
|
||||
boolean wasTaskExecuted();
|
||||
|
||||
/**
|
||||
* Note: Only for Conditional Actions
|
||||
* @return how many times this conditional action has tested its predicate
|
||||
*/
|
||||
int getCheckCount();
|
||||
|
||||
/**
|
||||
* Note: Only for Conditional Actions
|
||||
* @return the maximum number of checks before auto‐expiring, or –1 if unlimited
|
||||
*/
|
||||
int getMaxChecks();
|
||||
|
||||
|
||||
/**
|
||||
* @param maxChecks maximum times to test predicate before auto‐cancelling
|
||||
* @return this action
|
||||
|
||||
Reference in new issue
Block a user