Skip to content

Commit

Permalink
small formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OsakiTsukiko committed Jul 3, 2023
1 parent bff92c8 commit 77051d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/aoba/cmd/CommandManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public void command(String[] commandIn) {

// If the command does not exist, throw an error.
if (command == null)
sendChatMessage("Invalid Command! Type .aoba help for a list of commands.");
sendChatMessage("Invalid Command! Type " + Formatting.LIGHT_PURPLE + ".aoba help" + Formatting.RESET + " for a list of commands.");
else {
// Otherwise, create a new parameter list.
String[] parameterList = new String[commandIn.length - 2];
Expand All @@ -134,7 +134,7 @@ public void command(String[] commandIn) {
command.runCommand(parameterList);
}
} catch(ArrayIndexOutOfBoundsException e) {
sendChatMessage("Invalid Command! Type .aoba help for a list of commands.");
sendChatMessage("Invalid Command! Type " + Formatting.LIGHT_PURPLE + ".aoba help" + Formatting.RESET + " for a list of commands.");
} catch (InvalidSyntaxException e) {
e.PrintToChat();
}
Expand Down

0 comments on commit 77051d7

Please sign in to comment.