diff options
Diffstat (limited to 'EssentialsUpdate/src/net/ess3/update/UpdateProcess.java')
-rw-r--r-- | EssentialsUpdate/src/net/ess3/update/UpdateProcess.java | 4 |
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; } |