Skip to content
This repository has been archived by the owner on Mar 12, 2023. It is now read-only.

Commit

Permalink
This is why I shouldn't blindly accept PRs. Fixed downloads not worki…
Browse files Browse the repository at this point in the history
…ng for latest.
  • Loading branch information
Vazkii committed May 1, 2017
1 parent a13a0b1 commit b546d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vazkii/cmpdl/CMPDL.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static void downloadFromURL(String url, String version) throws Exception
packVersion = "latest";

String fileUrl;
if (packVersion == "latest")
if (packVersion.equals("latest"))
fileUrl = packUrl + "/files/latest";
else
fileUrl = packUrl + "/files/" + packVersion + "/download";
Expand Down

0 comments on commit b546d53

Please sign in to comment.