Skip to content

Commit

Permalink
removed unneccesary toLowerCase() in ComandHandler.register (#184)
Browse files Browse the repository at this point in the history
why was it there in the first place
  • Loading branch information
1ue999 authored Jan 12, 2025
1 parent 9dd4c1e commit 4940b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arc-core/src/arc/util/CommandHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public <T> Command register(String text, String params, String description, Comm
orderedCommands.remove(c -> c.text.equals(text));

Command cmd = new Command(text, params, description, runner);
commands.put(text.toLowerCase(), cmd);
commands.put(text, cmd);
orderedCommands.add(cmd);
return cmd;
}
Expand Down

0 comments on commit 4940b68

Please sign in to comment.