1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-10 16:48:05 +02:00

re: re: Check the player we are bringing has permission to enter the world vs the initiating user

This commit is contained in:
Paul A.
2012-08-01 15:56:58 +02:00
parent 452c2be54d
commit dcc53cbf30

View File

@@ -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;
}