From 519f8a7f88aa65a2d4e168c09470be67025b8ade Mon Sep 17 00:00:00 2001 From: "Paul A." Date: Wed, 1 Aug 2012 15:56:58 +0200 Subject: re: re: Check the player we are bringing has permission to enter the world vs the initiating user --- Essentials/src/com/earth2me/essentials/commands/Commandtpall.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java b/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java index 6335a4a54..98e232609 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandtpall.java @@ -43,7 +43,7 @@ public class Commandtpall extends EssentialsCommand continue; } if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions() - && !user.isAuthorized("essentials.world." + user.getWorld().getName())) + && !player.isAuthorized("essentials.world." + user.getWorld().getName())) { continue; } -- cgit v1.2.3