mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 12:02:53 +00:00
re: re: Check the player we are bringing has permission to enter the world vs the initiating user
This commit is contained in:
parent
d5ed474be7
commit
2fbdf7e4d6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue