mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 02:24:16 +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:
@@ -43,7 +43,7 @@ public class Commandtpall extends EssentialsCommand
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions()
|
if (user.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions()
|
||||||
&& !user.isAuthorized("essentials.world." + user.getWorld().getName()))
|
&& !player.isAuthorized("essentials.world." + user.getWorld().getName()))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user