mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 02:07:39 +00:00
Re-re-introduced a small optimization in the flag parser.
This commit is contained in:
parent
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user