mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 11:44:36 +00:00
Fixed #1994 Replace command in commandline with three argument causing replacements file load
This commit is contained in:
@@ -3143,7 +3143,7 @@ public class CommandLineArgumentParser {
|
||||
File inFile = new File(args.pop());
|
||||
File outFile = new File(args.pop());
|
||||
|
||||
if (args.size() == 3) {
|
||||
if (args.size() == 1) {
|
||||
System.out.println("Replacing - only single argument passed, taking it as file to load replacements from");
|
||||
try {
|
||||
List<String> lines = Files.readAllLines(Paths.get(args.pop()), StandardCharsets.UTF_8);
|
||||
|
||||
Reference in New Issue
Block a user