diff options
author | Paul A. <ementalodev@gmx.co.uk> | 2012-08-01 15:56:58 +0200 |
---|---|---|
committer | Paul A. <ementalodev@gmx.co.uk> | 2012-08-01 15:56:58 +0200 |
commit | 2fbdf7e4d6598bbd185d7d497e0ee8986a43c6ab (patch) | |
tree | 79c07df46cb1b9837387e5a02ef3230451859987 | |
parent | d5ed474be7b96da4336b8264778e8aeea458da97 (diff) | |
download | Essentials-2fbdf7e4d6598bbd185d7d497e0ee8986a43c6ab.tar Essentials-2fbdf7e4d6598bbd185d7d497e0ee8986a43c6ab.tar.gz Essentials-2fbdf7e4d6598bbd185d7d497e0ee8986a43c6ab.tar.lz Essentials-2fbdf7e4d6598bbd185d7d497e0ee8986a43c6ab.tar.xz Essentials-2fbdf7e4d6598bbd185d7d497e0ee8986a43c6ab.zip |
re: re: Check the player we are bringing has permission to enter the world vs the initiating user
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandtpall.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |