mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 03:22:23 +00:00
More ActionLogger and ActionThread optimisations
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user