From 09a53b75de20ecf2da30bac15ce848fa5c70ad6a Mon Sep 17 00:00:00 2001 From: fullwall Date: Sat, 3 Oct 2020 16:19:34 +0800 Subject: [PATCH] Use ` instead of ~ for quotes --- src/main/java/net/citizensnpcs/api/command/CommandContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/api/command/CommandContext.java b/src/main/java/net/citizensnpcs/api/command/CommandContext.java index 191400ba..a5c2e25b 100644 --- a/src/main/java/net/citizensnpcs/api/command/CommandContext.java +++ b/src/main/java/net/citizensnpcs/api/command/CommandContext.java @@ -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) {