From 978be89e525a21be24c4127c0f68352aa7eb0459 Mon Sep 17 00:00:00 2001 From: MattBDev Date: Sun, 27 Mar 2016 23:48:24 -0400 Subject: [PATCH] Fix bug causing the Updater to not work. --- Core/src/main/java/com/intellectualcrafters/plot/Updater.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/Updater.java b/Core/src/main/java/com/intellectualcrafters/plot/Updater.java index ec93baca7..5a0b3754b 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/Updater.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/Updater.java @@ -46,7 +46,7 @@ public class Updater { String str = readUrl("https://api.github.com/repos/IntellectualSites/PlotSquared/releases/latest"); JSONObject release = new JSONObject(str); JSONArray assets = (JSONArray) release.get("assets"); - String downloadURL = String.format("PlotSquared-%s%n.jar", PS.get().getPlatform()); + String downloadURL = String.format("PlotSquared-%s.jar", PS.get().getPlatform()); for (int i = 0; i < assets.length(); i++) { JSONObject asset = assets.getJSONObject(i); String name = asset.getString("name");