diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java index 98584f075..904c67469 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java @@ -25,6 +25,9 @@ public class Commandtpahere extends EssentialsCommand { if (user.getName().equalsIgnoreCase(player.getName())) { throw new NotEnoughArgumentsException(); } + if (!player.isAuthorized("essentials.tpaccept")) { + throw new Exception(tl("teleportNoAcceptPermission", player.getDisplayName())); + } if (!player.isTeleportEnabled()) { throw new Exception(tl("teleportDisabled", player.getDisplayName())); }