Updated updater to update
This commit is contained in:
parent
1e13da9e22
commit
01dd44fd72
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("https://github.com/TBMCPlugins/" + name + "/raw/master/" + name + ".jar");
|
url = new URL("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