Sorry, I'll fix it.

This commit is contained in:
Jesse Boyd 2016-03-03 07:34:59 +11:00
parent b294ff528f
commit 0408e9a37c

View File

@ -52,7 +52,7 @@ public class Updater {
if (downloadURL.equals(name)) { if (downloadURL.equals(name)) {
try { try {
String version = release.getString("name"); String version = release.getString("name");
URL url = new URL(asset.getString("downloadUrl")); URL url = new URL(asset.getString("browser_download_url"));
if (!PS.get().canUpdate(PS.get().config.getString("version"), version)) { if (!PS.get().canUpdate(PS.get().config.getString("version"), version)) {
PS.debug("&7PlotSquared is already up to date!"); PS.debug("&7PlotSquared is already up to date!");
return null; return null;