1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-10-04 18:11:43 +02:00

Revert "adding per-group teleport permissions"

This commit is contained in:
Iaccidentally
2013-02-06 18:53:14 -05:00
parent 770830140d
commit b2ff27cde2
8 changed files with 2 additions and 40 deletions

View File

@@ -24,11 +24,6 @@ public class Commandtpahere extends EssentialsCommand
}
ISettings settings = ess.getSettings();
if (settings.getData().getGeneral().isPerGroupTeleport() && !Permissions.PERGROUPTELEPORT.isAuthorized(
user, ess.getRanks().getMainGroup(user)))
{
throw new Exception(_("noPerm", "essentials.tp." + player));
}
if (user.getPlayer().getWorld() != player.getPlayer().getWorld() && settings.getData().getGeneral().isWorldTeleportPermissions() && !Permissions.WORLD.isAuthorized(
user, user.getPlayer().getWorld().getName()))
{