More ActionLogger and ActionThread optimisations

This commit is contained in:
bigguy345 committed 2025-07-08 11:34:32 +03:00
1 parent 66c4d64fb0
commit 7c24caf004
5 files changed
+59 -25

No files matched your search

@@ -368,6 +368,9 @@ public class Action implements IAction {
@Override
public void kill() {
if (manager.debug)
manager.LOGGER.log(String.format("Killing Action '%s'...", name), queue);
if (actionThread != null)
actionThread.stop();
@@ -375,8 +378,6 @@ public class Action implements IAction {
isScheduled = false;
done = true;
if (manager.debug)
manager.LOGGER.log(String.format("Killed Action '%s'", name), queue);
}
public String toString() {