Mark in log where its being downloaded to
This commit is contained in:
parent
e496a1f595
commit
301617c0f3
2
pom.xml
2
pom.xml
@ -5,7 +5,7 @@
|
|||||||
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
||||||
<groupId>LibsDisguises</groupId>
|
<groupId>LibsDisguises</groupId>
|
||||||
<artifactId>LibsDisguises</artifactId>
|
<artifactId>LibsDisguises</artifactId>
|
||||||
<version>10.0.7</version>
|
<version>10.0.7-SNAPSHOT</version>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>exec:java clean install</defaultGoal>
|
<defaultGoal>exec:java clean install</defaultGoal>
|
||||||
|
@ -212,10 +212,11 @@ public class UpdateChecker {
|
|||||||
private PluginInformation grabJarDownload(String urlString) {
|
private PluginInformation grabJarDownload(String urlString) {
|
||||||
downloading.set(true);
|
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());
|
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()) {
|
if (dest.exists()) {
|
||||||
dest.delete();
|
dest.delete();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user