refactor class
This commit is contained in:
parent
84f7cd9786
commit
3a2d6f3ed8
1 changed files with 13 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
package me.unurled.sacredrealms.sr.commands;
|
||||
|
||||
import static me.unurled.sacredrealms.sr.utils.Logger.error;
|
||||
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import me.unurled.sacredrealms.sr.SR;
|
||||
import me.unurled.sacredrealms.sr.commands.admin.AttributeCommand;
|
||||
import me.unurled.sacredrealms.sr.commands.player.ResetAdventureCommand;
|
||||
|
@ -24,4 +27,14 @@ public class CommandManager extends Manager {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Load the manager */
|
||||
@Override
|
||||
public void load() {
|
||||
super.load();
|
||||
|
||||
registerCommand("attributes", AttributeCommand.class);
|
||||
|
||||
registerCommand("resetadventure", ResetAdventureCommand.class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue