summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/net/ess3/update/UpdateProcess.java
diff options
context:
space:
mode:
authorIaccidentally <coryhuckaby@gmail.com>2013-05-02 20:24:20 -0700
committerIaccidentally <coryhuckaby@gmail.com>2013-05-02 20:24:20 -0700
commit59f91be43a92d2fe34448df1d58fabffd4776f24 (patch)
tree5563c3b842304fa73f0a0f4fdd812a5b1caf3a2d /EssentialsUpdate/src/net/ess3/update/UpdateProcess.java
parentc16b09a9eaf6cf1f8c4b9e37f33f4e4295de9113 (diff)
parent3ff12f6bf52268b228aadbfbe634ca9ab0c135b6 (diff)
downloadEssentials-59f91be43a92d2fe34448df1d58fabffd4776f24.tar
Essentials-59f91be43a92d2fe34448df1d58fabffd4776f24.tar.gz
Essentials-59f91be43a92d2fe34448df1d58fabffd4776f24.tar.lz
Essentials-59f91be43a92d2fe34448df1d58fabffd4776f24.tar.xz
Essentials-59f91be43a92d2fe34448df1d58fabffd4776f24.zip
Merge pull request #470 from drtshock/master
More logging!
Diffstat (limited to 'EssentialsUpdate/src/net/ess3/update/UpdateProcess.java')
-rw-r--r--EssentialsUpdate/src/net/ess3/update/UpdateProcess.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/EssentialsUpdate/src/net/ess3/update/UpdateProcess.java b/EssentialsUpdate/src/net/ess3/update/UpdateProcess.java
index 9d09264e3..b13c9f382 100644
--- a/EssentialsUpdate/src/net/ess3/update/UpdateProcess.java
+++ b/EssentialsUpdate/src/net/ess3/update/UpdateProcess.java
@@ -43,7 +43,7 @@ public class UpdateProcess implements Listener
{
currentPlayer.sendMessage("A newer version of EssentialsUpdate is found. Downloading new file and reloading server.");
}
- Bukkit.getLogger().log(Level.INFO, "A newer version of EssentialsUpdate is found. Downloading new file and reloading server.");
+ plugin.getLogger().log(Level.INFO, "A newer version of EssentialsUpdate is found. Downloading new file and reloading server.");
new SelfUpdate(
new AbstractWorkListener(plugin, updateCheck.getNewVersionInfo())
{
@@ -70,7 +70,7 @@ public class UpdateProcess implements Listener
}
if (message != null && !message.isEmpty())
{
- Bukkit.getLogger().log(Level.INFO, message);
+ plugin.getLogger().log(Level.INFO, message);
}
UpdateProcess.this.currentPlayer = null;
}