3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-19 22:30:05 +02:00

Fixed issue with double spaces in command handling.

Dieser Commit ist enthalten in:
sk89q 2011-04-23 23:59:42 -07:00
Ursprung 8a9f1fbc10
Commit c5ff11f815

Datei anzeigen

@ -41,7 +41,9 @@ public class CommandContext {
int i = 1;
for (; i < args.length; i++) {
if (args[i].charAt(0) == '-' && args[i].matches("^-[a-zA-Z]+$")) {
if (args[i].length() == 0) {
// Ignore this
} else if (args[i].charAt(0) == '-' && args[i].matches("^-[a-zA-Z]+$")) {
for (int k = 1; k < args[i].length(); k++) {
flags.add(args[i].charAt(k));
}