File tree Expand file tree Collapse file tree
Commands/src/main/java/org/broken/arrow/library/command Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public CommandRegister() {
5252 }
5353
5454 @ Override
55- public CommandBuilder registerCommand (final Plugin plugin , final String mainCommand ) {
55+ public CommandBuilder registerCommand (@ Nonnull final Plugin plugin , @ Nonnull final String mainCommand ) {
5656 final CommandBuilder commandBuilder = new CommandBuilder ();
5757 final String [] mainCommands = mainCommand .split ("\\ |" );
5858
@@ -103,7 +103,7 @@ public void setRegisteredMainCommand(final boolean registeredMainCommand) {
103103 * Translate colors on a text.
104104 *
105105 * @param message the message to translate the color codes.
106- * @return Array of strings that has formated colors.
106+ * @return A string that has formated colors.
107107 */
108108 public static String translateColors (final String message ) {
109109 if (message == null ) return "" ;
You can’t perform that action at this time.
0 commit comments