mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 20:49:05 +00:00
Implemented ActionQueue to Action
This commit is contained in:
1 parent
25e6f39afd
commit
c1cfcc19d5
2 files changed
+74
-30
No files matched your search
@@ -74,6 +74,9 @@ public class ActionQueue implements IActionQueue {
|
||||
if (!isParallel && act.unscheduledAfter != null)
|
||||
act.scheduleAllAfter(queue);
|
||||
|
||||
if (act.queue != this)
|
||||
act.setQueue(this);
|
||||
|
||||
act.isScheduled = true;
|
||||
return action;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user