mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 21:54:44 +00:00
Action.after() and before() now properly work for unscheduled actions (Actions store a queue of actions to enqueue before/after them on their scheduling)
This commit is contained in:
1 parent
13d32ae425
commit
2bcbc98d31
1 file changed
+5
@@ -25,6 +25,11 @@ public interface IAction {
|
||||
*/
|
||||
IActionManager getManager();
|
||||
|
||||
/**
|
||||
* @return True if was scheduled in the queues using any of the schedule methods, false if was only created.
|
||||
*/
|
||||
boolean isScheduled();
|
||||
|
||||
/**
|
||||
* @return how many times this action’s task has been executed
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user