Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Make commands trimmed so we can have spaces between/around them
Browse files Browse the repository at this point in the history
  • Loading branch information
TacoTechnica committed Jan 19, 2022
1 parent 3a95960 commit a4df09c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void executeWithPrefix(String line) {
}

private Command getCommand(String line) throws CommandException {

line = line.trim();
if (line.length() != 0) {
String command = line;
int firstSpace = line.indexOf(' ');
Expand Down

0 comments on commit a4df09c

Please sign in to comment.