ActionThread

This commit is contained in:
bigguy345 committed 2025-06-29 21:56:15 +03:00
1 parent bdbf30d328
commit 78bb39e4c7
2 files changed
+9 -7

No files matched your search

@@ -73,7 +73,7 @@ public class Action implements IAction {
}
if (ticksExisted % updateEveryXTick == 0 && task != null) {
if (isThreaded)
actionThread.execute(this::executeTask);
actionThread.execute("task", this::executeTask);
else
executeTask();
}