diff options
author | drtshock <thensler@wisc.edu> | 2013-05-02 22:19:28 -0500 |
---|---|---|
committer | drtshock <thensler@wisc.edu> | 2013-05-02 22:19:28 -0500 |
commit | 3ff12f6bf52268b228aadbfbe634ca9ab0c135b6 (patch) | |
tree | 73ffe436673beeadd1768d36e137091a8f9fbffb /EssentialsAntiBuild | |
parent | f326d0ad0c22836fd0905b69303e9731ad268fe8 (diff) | |
download | Essentials-3ff12f6bf52268b228aadbfbe634ca9ab0c135b6.tar Essentials-3ff12f6bf52268b228aadbfbe634ca9ab0c135b6.tar.gz Essentials-3ff12f6bf52268b228aadbfbe634ca9ab0c135b6.tar.lz Essentials-3ff12f6bf52268b228aadbfbe634ca9ab0c135b6.tar.xz Essentials-3ff12f6bf52268b228aadbfbe634ca9ab0c135b6.zip |
More logging!
Diffstat (limited to 'EssentialsAntiBuild')
-rw-r--r-- | EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java index b76152916..8a1206b29 100644 --- a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java +++ b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java @@ -12,7 +12,6 @@ import org.bukkit.plugin.Plugin; public class EssentialsConnect { - private static final Logger LOGGER = Logger.getLogger("Minecraft"); private final IEssentials ess; private final IAntiBuild antib; @@ -20,7 +19,7 @@ public class EssentialsConnect { if (!essProtect.getDescription().getVersion().equals(essPlugin.getDescription().getVersion())) { - LOGGER.log(Level.WARNING, _("§4Version mismatch! Please update all Essentials jars to the same version.")); + essPlugin.getLogger().log(Level.WARNING, _("§4Version mismatch! Please update all Essentials jars to the same version.")); } ess = ((BukkitPlugin)essPlugin).getEssentials(); antib = (IAntiBuild)essProtect; @@ -43,7 +42,7 @@ public class EssentialsConnect final Location loc = user.getLocation(); final String warnMessage = _( "alertFormat", user.getName(), type, item, loc.getWorld().getName() + "," + loc.getBlockX() + "," + loc.getBlockY() + "," + loc.getBlockZ()); - LOGGER.log(Level.WARNING, warnMessage); + ess.getLogger().log(Level.WARNING, warnMessage); for (Player p : ess.getServer().getOnlinePlayers()) { if (Permissions.ALERTS.isAuthorized(p)) |