Skip to content

Commit

Permalink
Always print a command with a slash
Browse files Browse the repository at this point in the history
  • Loading branch information
ME1312 committed Jun 5, 2021
1 parent e519373 commit 69da4fa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -200,7 +200,7 @@ void read(String line) {
if (sender instanceof InputSender && !line.startsWith("/")) {
sender.chat(Util.unescapeJavaString(line));
} else if (runCommand(sender, line) == Status.UNKNOWN) {
engine.getAppInfo().getLogger().message.println("Unknown Command: " + line);
engine.getAppInfo().getLogger().message.println("Unknown Command: " + ((line.startsWith("/"))?"":"/") + line);
}
}
}
Expand Down

0 comments on commit 69da4fa

Please sign in to comment.