Skip to content

Commit

Permalink
Use ` instead of ~ for quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Oct 3, 2020
1 parent c459e29 commit 09a53b7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -54,7 +54,7 @@ public CommandContext(CommandSender sender, String[] args) {
if (args[i].length() == 0) {
// Ignore this
continue;
} else if (args[i].charAt(0) == '\'' || args[i].charAt(0) == '"' || args[i].charAt(0) == '~') {
} else if (args[i].charAt(0) == '\'' || args[i].charAt(0) == '"' || args[i].charAt(0) == '`') {
char quote = args[i].charAt(0);
String quoted = args[i].substring(1); // remove initial quote
if (quoted.length() > 0 && quoted.charAt(quoted.length() - 1) == quote) {
Expand Down

0 comments on commit 09a53b7

Please sign in to comment.