mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-12 09:35:26 +02:00
More logging!
This commit is contained in:
@@ -18,7 +18,6 @@ import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class EssentialsChat extends JavaPlugin
|
||||
{
|
||||
private static final Logger LOGGER = Logger.getLogger("Minecraft");
|
||||
|
||||
@Override
|
||||
public void onEnable()
|
||||
@@ -28,7 +27,7 @@ public class EssentialsChat extends JavaPlugin
|
||||
final IEssentials ess = (IEssentials)plugin.getEssentials();
|
||||
if (!this.getDescription().getVersion().equals(plugin.getDescription().getVersion()))
|
||||
{
|
||||
LOGGER.log(Level.WARNING, _("§4Version mismatch! Please update all Essentials jars to the same version."));
|
||||
getLogger().log(Level.WARNING, _("§4Version mismatch! Please update all Essentials jars to the same version."));
|
||||
}
|
||||
if (!plugin.isEnabled())
|
||||
{
|
||||
|
@@ -18,7 +18,6 @@ import org.bukkit.event.player.AsyncPlayerChatEvent;
|
||||
public abstract class EssentialsChatPlayer implements Listener
|
||||
{
|
||||
protected IEssentials ess;
|
||||
protected final static Logger LOGGER = Logger.getLogger("Minecraft");
|
||||
protected final Server server;
|
||||
protected final Map<AsyncPlayerChatEvent, ChatStore> chatStorage;
|
||||
|
||||
|
Reference in New Issue
Block a user