Update EssentialsCommand.java

This commit is contained in:
Telesphoreo 2020-08-23 21:39:02 -05:00
parent 26ea64a316
commit 4cc9d97ba4

View file

@ -2,6 +2,7 @@ package com.earth2me.essentials.commands;
import com.earth2me.essentials.CommandSource;
import com.earth2me.essentials.IEssentialsModule;
import com.earth2me.essentials.TFMHandler;
import com.earth2me.essentials.Trade;
import com.earth2me.essentials.User;
import com.earth2me.essentials.utils.FormatUtil;
@ -35,11 +36,16 @@ public abstract class EssentialsCommand implements IEssentialsCommand {
protected transient IEssentials ess;
protected transient IEssentialsModule module;
protected static final Logger logger = Logger.getLogger("Essentials");
protected static final TFMHandler tfmHandler = new TFMHandler();
protected EssentialsCommand(final String name) {
this.name = name;
}
public static TFMHandler getTFMHandler() {
return tfmHandler;
}
@Override
public void setEssentials(final IEssentials ess) {
this.ess = ess;