From aa8ea101bd9caf3679ebfa02d0cc19c982a535e3 Mon Sep 17 00:00:00 2001 From: bigguy345 Date: Mon, 7 Jul 2025 13:08:50 +0300 Subject: [PATCH] ActionManager DEBUG MODE Implemented for Actions --- java/noppes/npcs/api/handler/IActionManager.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/java/noppes/npcs/api/handler/IActionManager.java b/java/noppes/npcs/api/handler/IActionManager.java index 0123396..64fd3ab 100644 --- a/java/noppes/npcs/api/handler/IActionManager.java +++ b/java/noppes/npcs/api/handler/IActionManager.java @@ -51,6 +51,15 @@ public interface IActionManager { IAction create(String name, Consumer t); + boolean inDebugMode(); + + /** + * Enabling prints to the console the life cycle of IActionManager, it's IActionQueues and the scheduled IActions + * @param debug + * @return + */ + IActionManager setDebugMode(boolean debug); + IAction create(String name); IAction create(Consumer t);