mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-22 18:45:29 +01:00
value flags no longer case-sensitive, remove debug message
This commit is contained in:
parent
4720a4bd4d
commit
0abac86758
@ -77,8 +77,7 @@ public class CommandContext {
|
||||
}
|
||||
|
||||
if (inner != -1) {
|
||||
System.out.println(args[inner]);
|
||||
valueFlags.put(args[i].replaceFirst("--", ""), args[inner]);
|
||||
valueFlags.put(args[i].toLowerCase().replaceFirst("--", ""), args[inner]);
|
||||
args[i] = "";
|
||||
args[inner] = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user