Skip to content
This repository was archived by the owner on Sep 9, 2023. It is now read-only.

Commit 9589d9c

Browse files
Generate correct update command
1 parent fcc11a4 commit 9589d9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ml/northwestwind/Profile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ private static void update(String[] args) {
457457
for (Map.Entry<Integer, String> entry : updatables.entrySet()) pw.println(entry.getValue() + " = " + entry.getKey());
458458
pw.println();
459459
pw.println("You can update these mods of a profile with the following command: ");
460-
String cmd = "curseforge profile add <profile> " + mods.keySet().stream().map(String::valueOf).collect(Collectors.joining(" "));
460+
String cmd = "curseforge profile add <profile> " + updatables.keySet().stream().map(String::valueOf).collect(Collectors.joining(" "));
461461
pw.println(cmd);
462462
pw.close();
463463
System.out.println(Ansi.ansi().fg(Ansi.Color.GREEN).a("Exported mods with update available to mod_updates.txt"));

0 commit comments

Comments
 (0)