mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-05 03:53:41 +00:00
Fix user comparison.
This commit is contained in:
parent
427d8cc4e0
commit
3377e3483d
6 changed files with 6 additions and 6 deletions
|
@ -42,7 +42,7 @@ public class Commandtpall extends EssentialsCommand
|
|||
{
|
||||
continue;
|
||||
}
|
||||
if (target.equals(sender)
|
||||
if (sender.equals(target.getBase())
|
||||
&& target.getWorld() != player.getWorld() && ess.getSettings().isWorldTeleportPermissions()
|
||||
&& !target.isAuthorized("essentials.worlds." + target.getWorld().getName()))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue