From 7c98cc0e010fdcc630c7e44b7f3a698297d47117 Mon Sep 17 00:00:00 2001 From: Trevor Wilson Date: Sun, 19 May 2013 02:32:06 -0500 Subject: [PATCH] Made CommandManager registration with parent public so hooks can be made to existing commands --- .../java/com/sk89q/minecraft/util/commands/CommandsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/minecraft/util/commands/CommandsManager.java b/src/main/java/com/sk89q/minecraft/util/commands/CommandsManager.java index 1d6283d37..c8f0ffe2d 100644 --- a/src/main/java/com/sk89q/minecraft/util/commands/CommandsManager.java +++ b/src/main/java/com/sk89q/minecraft/util/commands/CommandsManager.java @@ -135,7 +135,7 @@ public abstract class CommandsManager { * @param parent * @return Commands Registered */ - private List registerMethods(Class cls, Method parent) { + public List registerMethods(Class cls, Method parent) { try { if (getInjector() == null) { return registerMethods(cls, parent, null);