mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 04:23:02 +00:00
Players should not be able to ignore Console
Also implement chat exempt permission in other commands.
This commit is contained in:
parent
a764f8c929
commit
97eada7dd6
9 changed files with 36 additions and 35 deletions
|
@ -30,7 +30,7 @@ public class Commandtpa extends EssentialsCommand
|
|||
{
|
||||
throw new Exception(_("noPerm", "essentials.world." + player.getWorld().getName()));
|
||||
}
|
||||
if (!player.isIgnoredPlayer(user.getName()))
|
||||
if (!player.isIgnoredPlayer(user))
|
||||
{
|
||||
player.requestTeleport(user, false);
|
||||
player.sendMessage(_("teleportRequest", user.getDisplayName()));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue