diff options
author | snowleo <schneeleo@gmail.com> | 2012-01-20 05:52:35 +0100 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-01-20 05:52:35 +0100 |
commit | 93d632a9ff6957084e5a2289f11d697b1c3444f1 (patch) | |
tree | 7f222fe6804025c33cf50e36914e1404585c757b /EssentialsGeoIP | |
parent | 90e1b619be0b8d9707ed1907e686ce38c8c5bf7f (diff) | |
download | Essentials-93d632a9ff6957084e5a2289f11d697b1c3444f1.tar Essentials-93d632a9ff6957084e5a2289f11d697b1c3444f1.tar.gz Essentials-93d632a9ff6957084e5a2289f11d697b1c3444f1.tar.lz Essentials-93d632a9ff6957084e5a2289f11d697b1c3444f1.tar.xz Essentials-93d632a9ff6957084e5a2289f11d697b1c3444f1.zip |
Removing load info, bucket displays that now.
Diffstat (limited to 'EssentialsGeoIP')
-rw-r--r-- | EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java index 5700a7472..eb401c6db 100644 --- a/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java +++ b/EssentialsGeoIP/src/com/earth2me/essentials/geoip/EssentialsGeoIP.java @@ -3,17 +3,12 @@ package com.earth2me.essentials.geoip; import static com.earth2me.essentials.I18n._; import com.earth2me.essentials.IEssentials; import java.util.logging.Level; -import java.util.logging.Logger; -import org.bukkit.event.Event.Priority; -import org.bukkit.event.Event.Type; import org.bukkit.plugin.PluginManager; import org.bukkit.plugin.java.JavaPlugin; public class EssentialsGeoIP extends JavaPlugin { - private static final Logger logger = Logger.getLogger("Minecraft"); - public EssentialsGeoIP() { } @@ -30,7 +25,7 @@ public class EssentialsGeoIP extends JavaPlugin final IEssentials ess = (IEssentials)pm.getPlugin("Essentials"); if (!this.getDescription().getVersion().equals(ess.getDescription().getVersion())) { - logger.log(Level.WARNING, _("versionMismatchAll")); + getLogger().log(Level.WARNING, _("versionMismatchAll")); } if (!ess.isEnabled()) { this.setEnabled(false); @@ -39,8 +34,7 @@ public class EssentialsGeoIP extends JavaPlugin final EssentialsGeoIPPlayerListener playerListener = new EssentialsGeoIPPlayerListener(getDataFolder(), ess); pm.registerEvents(playerListener, this); - logger.info(_("loadinfo", this.getDescription().getName(), this.getDescription().getVersion(), "essentials team")); - logger.log(Level.INFO, "This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/."); + getLogger().log(Level.INFO, "This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/."); } } |