Commit 75d44a90504a542608f0080b664e737be83c8da3

Authored by Mumfrey
1 parent c15092b2

fix version timestamp derp

java/com/mumfrey/liteloader/core/LiteLoaderVersion.java
@@ -29,7 +29,7 @@ public enum LiteLoaderVersion @@ -29,7 +29,7 @@ public enum LiteLoaderVersion
29 MC_1_6_4_R2(19, 1380796916, "1.6.4", "1.6.4_02", "1.6.4", "1.6.r4"), 29 MC_1_6_4_R2(19, 1380796916, "1.6.4", "1.6.4_02", "1.6.4", "1.6.r4"),
30 MC_1_7_2_R0(20, 1386027226, "1.7.2", "1.7.2", "1.7.2", "1.7.r1"), 30 MC_1_7_2_R0(20, 1386027226, "1.7.2", "1.7.2", "1.7.2", "1.7.r1"),
31 MC_1_7_2_R1(21, 1388455995, "1.7.2", "1.7.2_01", "1.7.2_01"), 31 MC_1_7_2_R1(21, 1388455995, "1.7.2", "1.7.2_01", "1.7.2_01"),
32 - MC_1_7_2_R2(22, 1391811889, "1.7.2", "1.7.2_02", "1.7.2_02"); 32 + MC_1_7_2_R2(22, 1391813831, "1.7.2", "1.7.2_02", "1.7.2_02");
33 33
34 /** 34 /**
35 * Current loader version 35 * Current loader version
@@ -42,19 +42,20 @@ public enum LiteLoaderVersion @@ -42,19 +42,20 @@ public enum LiteLoaderVersion
42 42
43 private static final UpdateSite updateSite = new UpdateSite(UPDATE_SITE_URL, UPDATE_SITE_VERSIONS_JSON, LiteLoaderVersion.CURRENT.getMinecraftVersion(), UPDATE_SITE_ARTEFACT_NAME, LiteLoaderVersion.CURRENT.getReleaseTimestamp()); 43 private static final UpdateSite updateSite = new UpdateSite(UPDATE_SITE_URL, UPDATE_SITE_VERSIONS_JSON, LiteLoaderVersion.CURRENT.getMinecraftVersion(), UPDATE_SITE_ARTEFACT_NAME, LiteLoaderVersion.CURRENT.getReleaseTimestamp());
44 44
45 - private int revision; 45 + private final int revision;
46 46
47 - private long timestamp; 47 + private final long timestamp;
48 48
49 - private String minecraftVersion; 49 + private final String minecraftVersion;
50 50
51 - private String loaderVersion; 51 + private final String loaderVersion;
52 52
53 - private Set<String> supportedVersions = new HashSet<String>(); 53 + private final Set<String> supportedVersions = new HashSet<String>();
54 54
55 private LiteLoaderVersion(int revision, long timestamp, String minecraftVersion, String loaderVersion, String... supportedVersions) 55 private LiteLoaderVersion(int revision, long timestamp, String minecraftVersion, String loaderVersion, String... supportedVersions)
56 { 56 {
57 this.revision = revision; 57 this.revision = revision;
  58 + this.timestamp = timestamp;
58 this.minecraftVersion = minecraftVersion; 59 this.minecraftVersion = minecraftVersion;
59 this.loaderVersion = loaderVersion; 60 this.loaderVersion = loaderVersion;
60 61