mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +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)) {
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user