From aab3acef7dc4e9594b5283333d6aaf7be3fe1c4d Mon Sep 17 00:00:00 2001 From: Super_ Date: Sat, 14 Jul 2018 19:43:22 -0400 Subject: [PATCH 1/3] Removed TP toggle check from /tpa (no GitHub desktop) --- .../src/com/earth2me/essentials/commands/Commandtpa.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpa.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpa.java index 56386b3aea..72e7834b3c 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpa.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpa.java @@ -26,10 +26,6 @@ public void run(Server server, User user, String commandLabel, String[] args) th { throw new NotEnoughArgumentsException(); } - if (!player.isTeleportEnabled()) - { - throw new Exception(tl("teleportDisabled", player.getDisplayName())); - } if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions() && !user.isAuthorized("essentials.worlds." + player.getWorld().getName())) { From 874a6032b00a27ceaa0e081a85070b03e14cb420 Mon Sep 17 00:00:00 2001 From: Super_ Date: Sat, 14 Jul 2018 19:44:38 -0400 Subject: [PATCH 2/3] Removed TP toggle check from /tpaall (no GitHub desktop) --- .../src/com/earth2me/essentials/commands/Commandtpaall.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpaall.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpaall.java index ba4757d29e..2bf3273c73 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpaall.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpaall.java @@ -41,10 +41,6 @@ private void teleportAAllPlayers(final Server server, final CommandSource sender { continue; } - if (!player.isTeleportEnabled()) - { - continue; - } if (sender.equals(target.getBase()) && target.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions() && !target.isAuthorized("essentials.worlds." + target.getWorld().getName())) From 267e4de565454950c91d367c7987a24980e563b6 Mon Sep 17 00:00:00 2001 From: Super_ Date: Sat, 14 Jul 2018 19:45:29 -0400 Subject: [PATCH 3/3] Removed TP toggle check from /tpahere (no GitHub desktop) --- .../src/com/earth2me/essentials/commands/Commandtpahere.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java index 7d632a12f0..f116ee57ed 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpahere.java @@ -26,10 +26,6 @@ public void run(final Server server, final User user, final String commandLabel, { throw new NotEnoughArgumentsException(); } - if (!player.isTeleportEnabled()) - { - throw new Exception(tl("teleportDisabled", player.getDisplayName())); - } if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions() && !user.isAuthorized("essentials.worlds." + user.getWorld().getName())) {