Split command management into initializer and handler
- Create Initializer class that only initializes AuthMe commands - Move remaining method to CommandHandler - Deprecate constructors on CommandDescription in favor of the builder - Various cleanups and comments
This commit is contained in:
@@ -260,6 +260,7 @@ public class PermissionsManager {
|
||||
*
|
||||
* @param event Event instance.
|
||||
*/
|
||||
// TODO ljacqu 20151129: Misleading name since onPluginEnable is a typical event-based method name
|
||||
public void onPluginEnable(PluginEnableEvent event) {
|
||||
// Get the plugin and it's name
|
||||
Plugin plugin = event.getPlugin();
|
||||
|
||||
Reference in New Issue
Block a user