|
|
@ -34,8 +34,8 @@ public class CommandRegistry
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(aliasExists(toRegister.getName())) LOGGER.info("Overriding registered alias {} for a new command with the same name.", toRegister.getName());
|
|
|
|
if(aliasExists(toRegister.getName())) LOGGER.info("Overriding registered alias {} for a new command with the same name.", toRegister.getName());
|
|
|
|
|
|
|
|
|
|
|
|
LOGGER.info("Registering command {}.", toRegister.getName());
|
|
|
|
|
|
|
|
commandSet.add(toRegister);
|
|
|
|
commandSet.add(toRegister);
|
|
|
|
|
|
|
|
LOGGER.info("Registered command {}.", toRegister.getName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|