Skip to content

Commit

Permalink
Stabilize Merged jar time using date > 1980, to fix older java issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Sep 20, 2019
1 parent 1444911 commit 49224f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/minecraftforge/mergetool/Merger.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void process() throws IOException
private ZipEntry getNewEntry(String name)
{
ZipEntry ret = new ZipEntry(name);
ret.setTime(0); //Stabilize output as java will use current time if we don't set this.
ret.setTime(0x92D6688800L); //Stabilize output as java will use current time if we don't set this, we can't use 0 as older java versions output different jars for values less then 1980
return ret;
}

Expand Down

0 comments on commit 49224f5

Please sign in to comment.