+ fixed
This commit is contained in:
parent
977dcfdd2b
commit
ef3cabde50
@ -75,7 +75,7 @@ public class UpdateTask {
|
|||||||
TLocale.Logger.info("COMMANDS.TABOOLIB.UPDATEPLUGIN.FILE-NOT-FOUND");
|
TLocale.Logger.info("COMMANDS.TABOOLIB.UPDATEPLUGIN.FILE-NOT-FOUND");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
FileUtils.download(Strings.replaceWithOrder("https://github.com/Bkm016/TabooLib/releases/download/{0}/TabooLib-{0}.jar", UpdateTask.getNewVersion()), pluginFile);
|
FileUtils.download("https://github.com/Bkm016/TabooLib/releases/download/" + newVersion + "/TabooLib-" + newVersion + ".jar", pluginFile);
|
||||||
TLocale.Logger.info("COMMANDS.TABOOLIB.UPDATEPLUGIN.UPDATE-SUCCESS");
|
TLocale.Logger.info("COMMANDS.TABOOLIB.UPDATEPLUGIN.UPDATE-SUCCESS");
|
||||||
if (shutdown) {
|
if (shutdown) {
|
||||||
Bukkit.shutdown();
|
Bukkit.shutdown();
|
||||||
|
Loading…
Reference in New Issue
Block a user