mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
Sorry, I'll fix it.
This commit is contained in:
parent
b294ff528f
commit
0408e9a37c
@ -52,7 +52,7 @@ public class Updater {
|
||||
if (downloadURL.equals(name)) {
|
||||
try {
|
||||
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)) {
|
||||
PS.debug("&7PlotSquared is already up to date!");
|
||||
return null;
|
||||
|
Loading…
Reference in New Issue
Block a user