mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Merge pull request #242 from vu1p3n0x/master
Access to CommandManager registration with parent
This commit is contained in:
commit
8518f371b2
@ -135,7 +135,7 @@ public List<Command> registerAndReturn(Class<?> cls) {
|
|||||||
* @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);
|
||||||
|
Loading…
Reference in New Issue
Block a user