From b3f960ad7aaef7ecb4f9ace15e221ab3178448e9 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sun, 11 Sep 2016 15:21:33 +0200 Subject: [PATCH] Fixed update URL --- src/main/java/buttondevteam/bucket/core/TBMCCoreAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/buttondevteam/bucket/core/TBMCCoreAPI.java b/src/main/java/buttondevteam/bucket/core/TBMCCoreAPI.java index 1396ad3..02ae431 100644 --- a/src/main/java/buttondevteam/bucket/core/TBMCCoreAPI.java +++ b/src/main/java/buttondevteam/bucket/core/TBMCCoreAPI.java @@ -33,7 +33,7 @@ public final class TBMCCoreAPI { String ret = ""; URL url; try { - url = new URL("com/github/TBMCPlugins/" + name + "/master-SNAPSHOT/" + name + "-master-SNAPSHOT.jar"); + url = new URL("https://jitpack.io/com/github/TBMCPlugins/" + name + "/master-SNAPSHOT/" + name + "-master-SNAPSHOT.jar"); FileUtils.copyURLToFile(url, new File("plugins/" + name + ".jar")); } catch (Exception e) { MainPlugin.Instance.getLogger().warning("Error!\n" + e);