From 787458f1df0be37c6054c612d7a977a95e0f6d91 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Fri, 1 Apr 2022 23:21:37 -0500 Subject: [PATCH] Remove debugging from command loader --- src/main/java/dev/plex/handlers/CommandHandler.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/dev/plex/handlers/CommandHandler.java b/src/main/java/dev/plex/handlers/CommandHandler.java index a550d5f..f1116d0 100644 --- a/src/main/java/dev/plex/handlers/CommandHandler.java +++ b/src/main/java/dev/plex/handlers/CommandHandler.java @@ -24,17 +24,14 @@ public class CommandHandler extends PlexBase if (clazz.isAnnotationPresent(System.class)) { System annotation = clazz.getDeclaredAnnotation(System.class); - PlexLog.debug(clazz.getName() + " has annotations"); if (annotation.value().equalsIgnoreCase(plugin.getSystem().toLowerCase())) { commands.add(clazz.getConstructor().newInstance()); - PlexLog.debug("Adding " + clazz.getName() + " as a rank command"); } if (plugin.config.getBoolean("debug") && annotation.debug()) { commands.add(clazz.getConstructor().newInstance()); - PlexLog.debug("Adding " + clazz.getName() + " as a debug command"); } } else @@ -47,8 +44,6 @@ public class CommandHandler extends PlexBase PlexLog.error("Failed to register " + clazz.getSimpleName() + " as a command!"); } }); - - PlexLog.debug("Test"); PlexLog.log(String.format("Registered %s commands from %s classes!", commands.size(), commandSet.size())); } }