mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 18:05:10 +00:00
Refactored Action classes into appropriate packages
This commit is contained in:
1 parent
3e16c0a0d8
commit
e2f12f4bbf
6 files changed
+12
-5
No files matched your search
@@ -104,7 +104,7 @@ public class ActionThread {
|
||||
return runningTasks.stream().anyMatch(task -> !task.isDone());
|
||||
}
|
||||
|
||||
protected void execute(String taskKey, Runnable task) {
|
||||
public void execute(String taskKey, Runnable task) {
|
||||
if (threadPaused && pauseUntil != null && pauseUntil.apply(action))
|
||||
resume();
|
||||
|
||||
|
||||
Reference in new issue
Block a user