mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 12:30:11 -07:00
Fix duplicate Java arguments while processing
This commit is contained in:
parent
8331aeaf73
commit
9ab1afcf68
1 changed files with 2 additions and 3 deletions
|
|
@ -137,10 +137,9 @@ public final class Tools
|
|||
String arg = overrideableArgList.get(i);
|
||||
if (arg.startsWith("-D") && argOverride.startsWith(arg.substring(0, arg.indexOf('=') + 1))) {
|
||||
overrideableArgList.set(i, argOverride);
|
||||
System.out.println("ARGProcessor: Replace override arg: " + arg);
|
||||
} else {
|
||||
// break;
|
||||
} else if (i+1 == overrideableArgList.size()) {
|
||||
javaArgList.add(argOverride);
|
||||
System.out.println("ARGProcessor: Add non-override arg: " + arg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue