Commit 58356f00e4adc84389c929dd3b10f69ccb0ba08d

Authored by Mumfrey
1 parent a4fe8a2d

LiteLoader 1.6.2_03 - Fixed minor typo with versionOrderingSets which caused ver…

…sion ordering to not work as expected
java/com/mumfrey/liteloader/core/LiteLoader.java
... ... @@ -63,14 +63,14 @@ import com.mumfrey.liteloader.util.PrivateFields;
63 63 * lightweight mods
64 64 *
65 65 * @author Adam Mummery-Smith
66   - * @version 1.6.2_01
  66 + * @version 1.6.2_03
67 67 */
68 68 public final class LiteLoader implements FilenameFilter, IPlayerUsage
69 69 {
70 70 /**
71 71 * Liteloader version
72 72 */
73   - private static final LiteLoaderVersion VERSION = LiteLoaderVersion.MC_1_6_2_R1;
  73 + private static final LiteLoaderVersion VERSION = LiteLoaderVersion.MC_1_6_2_R2;
74 74  
75 75 /**
76 76 * Maximum recursion depth for mod discovery
... ... @@ -981,10 +981,10 @@ public final class LiteLoader implements FilenameFilter, IPlayerUsage
981 981  
982 982 if (!versionOrderingSets.containsKey(modFileInfo.getName()))
983 983 {
984   - versionOrderingSets.put(modFileInfo.getName(), new TreeSet<ModFile>());
  984 + versionOrderingSets.put(modFileInfo.getModName(), new TreeSet<ModFile>());
985 985 }
986 986  
987   - versionOrderingSets.get(modFileInfo.getName()).add(modFileInfo);
  987 + versionOrderingSets.get(modFileInfo.getModName()).add(modFileInfo);
988 988 }
989 989 else
990 990 {
... ...
java/com/mumfrey/liteloader/core/LiteLoaderVersion.java
... ... @@ -16,7 +16,8 @@ public enum LiteLoaderVersion
16 16 MC_1_5_2_R2(10, "1.5.2", "1.5.2", "1.5.2"),
17 17 MC_1_6_1_R0(11, "1.6.1", "1.6.1", "1.6.1", "1.6.r1"),
18 18 MC_1_6_2_R0(12, "1.6.2", "1.6.2", "1.6.2", "1.6.r2"),
19   - MC_1_6_2_R1(13, "1.6.2", "1.6.2_02", "1.6.2", "1.6.r2");
  19 + MC_1_6_2_R1(13, "1.6.2", "1.6.2_02", "1.6.2", "1.6.r2"),
  20 + MC_1_6_2_R2(13, "1.6.2", "1.6.2_03", "1.6.2", "1.6.r2");
20 21  
21 22 private int revision;
22 23  
... ...