mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-10 14:33:00 +00:00
Updated EssentialsSpawn to use the new config code
/spawn and /home now call the PlayerRespawnEvent to make it more compatible with other plugins.
This commit is contained in:
parent
f3b278eac2
commit
019b49ef11
21 changed files with 406 additions and 79 deletions
|
@ -2,6 +2,7 @@ package com.earth2me.essentials.commands;
|
|||
|
||||
import static com.earth2me.essentials.I18n._;
|
||||
import com.earth2me.essentials.IEssentials;
|
||||
import com.earth2me.essentials.IEssentialsModule;
|
||||
import com.earth2me.essentials.OfflinePlayer;
|
||||
import com.earth2me.essentials.Trade;
|
||||
import com.earth2me.essentials.User;
|
||||
|
@ -17,6 +18,7 @@ public abstract class EssentialsCommand implements IEssentialsCommand
|
|||
{
|
||||
private final transient String name;
|
||||
protected transient IEssentials ess;
|
||||
protected transient IEssentialsModule module;
|
||||
protected final static Logger logger = Logger.getLogger("Minecraft");
|
||||
|
||||
protected EssentialsCommand(final String name)
|
||||
|
@ -29,6 +31,12 @@ public abstract class EssentialsCommand implements IEssentialsCommand
|
|||
{
|
||||
this.ess = ess;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setEssentialsModule(final IEssentialsModule module)
|
||||
{
|
||||
this.module = module;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue