Mark in log where its being downloaded to

This commit is contained in:
libraryaddict
2020-05-01 19:09:37 +12:00
parent e496a1f595
commit 301617c0f3
2 changed files with 4 additions and 3 deletions

View File

@@ -212,10 +212,11 @@ public class UpdateChecker {
private PluginInformation grabJarDownload(String urlString) {
downloading.set(true);
DisguiseUtilities.getLogger().info("Now downloading build of Lib's Disguises from " + urlString);
File dest = new File(Bukkit.getUpdateFolderFile(), LibsDisguises.getInstance().getFile().getName());
DisguiseUtilities.getLogger()
.info("Now downloading build of Lib's Disguises from " + urlString + " to " + dest.getName());
if (dest.exists()) {
dest.delete();
}