mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-27 07:52:06 +00:00
implement GodStatusChangeEvent
This commit is contained in:
parent
cc34c02623
commit
375caa6f9e
3 changed files with 24 additions and 18 deletions
|
@ -4,7 +4,6 @@ import static com.earth2me.essentials.I18n._;
|
|||
import com.earth2me.essentials.User;
|
||||
import com.earth2me.essentials.utils.FormatUtil;
|
||||
import java.util.Locale;
|
||||
import net.ess3.api.events.LocalChatSpyEvent;
|
||||
import net.ess3.api.events.NickChangeEvent;
|
||||
import org.bukkit.Server;
|
||||
import org.bukkit.command.CommandSender;
|
||||
|
@ -115,7 +114,7 @@ public class Commandnick extends EssentialsLoopCommand
|
|||
|| lowerNick.equals(onlinePlayer.getName().toLowerCase(Locale.ENGLISH)))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (ess.getUser(lowerNick) != null && ess.getUser(lowerNick) != target) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue