mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-01-05 23:08:23 +00:00
Update EssentialsCommand.java
This commit is contained in:
parent
26ea64a316
commit
4cc9d97ba4
1 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,7 @@ package com.earth2me.essentials.commands;
|
||||||
|
|
||||||
import com.earth2me.essentials.CommandSource;
|
import com.earth2me.essentials.CommandSource;
|
||||||
import com.earth2me.essentials.IEssentialsModule;
|
import com.earth2me.essentials.IEssentialsModule;
|
||||||
|
import com.earth2me.essentials.TFMHandler;
|
||||||
import com.earth2me.essentials.Trade;
|
import com.earth2me.essentials.Trade;
|
||||||
import com.earth2me.essentials.User;
|
import com.earth2me.essentials.User;
|
||||||
import com.earth2me.essentials.utils.FormatUtil;
|
import com.earth2me.essentials.utils.FormatUtil;
|
||||||
|
@ -35,11 +36,16 @@ public abstract class EssentialsCommand implements IEssentialsCommand {
|
||||||
protected transient IEssentials ess;
|
protected transient IEssentials ess;
|
||||||
protected transient IEssentialsModule module;
|
protected transient IEssentialsModule module;
|
||||||
protected static final Logger logger = Logger.getLogger("Essentials");
|
protected static final Logger logger = Logger.getLogger("Essentials");
|
||||||
|
protected static final TFMHandler tfmHandler = new TFMHandler();
|
||||||
|
|
||||||
protected EssentialsCommand(final String name) {
|
protected EssentialsCommand(final String name) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static TFMHandler getTFMHandler() {
|
||||||
|
return tfmHandler;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setEssentials(final IEssentials ess) {
|
public void setEssentials(final IEssentials ess) {
|
||||||
this.ess = ess;
|
this.ess = ess;
|
||||||
|
|
Loading…
Reference in a new issue