Fixed update URL
This commit is contained in:
parent
12fe150596
commit
b3f960ad7a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ public final class TBMCCoreAPI {
|
||||||
String ret = "";
|
String ret = "";
|
||||||
URL url;
|
URL url;
|
||||||
try {
|
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"));
|
FileUtils.copyURLToFile(url, new File("plugins/" + name + ".jar"));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
MainPlugin.Instance.getLogger().warning("Error!\n" + e);
|
MainPlugin.Instance.getLogger().warning("Error!\n" + e);
|
||||||
|
|
Loading…
Reference in a new issue