summaryrefslogtreecommitdiffstats
path: root/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java
diff options
context:
space:
mode:
Diffstat (limited to 'Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java')
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java b/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java
index a70471327..c5b7c5ad9 100644
--- a/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java
+++ b/Essentials/src/com/earth2me/essentials/commands/EssentialsCommand.java
@@ -21,13 +21,14 @@ public abstract class EssentialsCommand extends AbstractSuperpermsPermission imp
protected transient IEssentials ess;
protected transient IEssentialsModule module;
protected transient Server server;
- protected final static Logger logger = Logger.getLogger("Minecraft");
+ protected transient Logger logger;
private transient String permission;
private transient Permission bukkitPerm;
public void init(final IEssentials ess, final String commandName)
{
this.ess = ess;
+ this.logger = ess.getLogger();
this.server = ess.getServer();
this.commandName = commandName;
this.permission = "essentials." + commandName;