mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 14:19:13 +00:00
ActionManager DEBUG MODE
Implemented for Actions
This commit is contained in:
1 parent
25ab7b2f71
commit
5cb5e3da85
6 files changed
+134
-27
No files matched your search
@@ -262,7 +262,11 @@ public class ActionQueue implements IActionQueue {
|
||||
if (a.isDone()) {
|
||||
if (a.onDone != null)
|
||||
a.execute("done", a::executeOnDone);
|
||||
|
||||
a.kill();
|
||||
|
||||
if (manager.debug)
|
||||
a.manager.logDebug(String.format("Removing Action '%s' from queue '%s'", a.name, name));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user