mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-02 10:57:11 +00:00
Made CommandManager registration with parent public so hooks can be made to existing commands
This commit is contained in:
parent
ca06489e11
commit
7c98cc0e01
@ -135,7 +135,7 @@ public abstract class CommandsManager<T> {
|
||||
* @param parent
|
||||
* @return Commands Registered
|
||||
*/
|
||||
private List<Command> registerMethods(Class<?> cls, Method parent) {
|
||||
public List<Command> registerMethods(Class<?> cls, Method parent) {
|
||||
try {
|
||||
if (getInjector() == null) {
|
||||
return registerMethods(cls, parent, null);
|
||||
|
Loading…
Reference in New Issue
Block a user