geforkt von Mirrors/FastAsyncWorldEdit
Made CommandManager registration with parent public so hooks can be made to existing commands
Dieser Commit ist enthalten in:
Ursprung
ca06489e11
Commit
7c98cc0e01
@ -135,7 +135,7 @@ public abstract class CommandsManager<T> {
|
|||||||
* @param parent
|
* @param parent
|
||||||
* @return Commands Registered
|
* @return Commands Registered
|
||||||
*/
|
*/
|
||||||
private List<Command> registerMethods(Class<?> cls, Method parent) {
|
public List<Command> registerMethods(Class<?> cls, Method parent) {
|
||||||
try {
|
try {
|
||||||
if (getInjector() == null) {
|
if (getInjector() == null) {
|
||||||
return registerMethods(cls, parent, null);
|
return registerMethods(cls, parent, null);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren