geforkt von Mirrors/FastAsyncWorldEdit
Re-re-introduced a small optimization in the flag parser.
Dieser Commit ist enthalten in:
Ursprung
9371202a12
Commit
19eedecdaf
@ -86,6 +86,9 @@ public class CommandContext {
|
|||||||
for (int i = 1; i < args.length; ++i) {
|
for (int i = 1; i < args.length; ++i) {
|
||||||
final String arg = args[i];
|
final String arg = args[i];
|
||||||
|
|
||||||
|
if (arg.charAt(0) != '-') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
if (arg.equals("--")) {
|
if (arg.equals("--")) {
|
||||||
args = removePortionOfArray(args, i, i, null);
|
args = removePortionOfArray(args, i, i, null);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren