Skip to content

Commit

Permalink
Redundant redundancy :D
Browse files Browse the repository at this point in the history
  • Loading branch information
nossr50 committed Apr 3, 2012
1 parent 80c36ca commit b2565be
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -47,8 +47,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
PlayerProfile PPt = Users.getProfile(target);

//If they are not an Op they have to be close
if(sender instanceof Player && !player.getWorld().equals(target.getWorld()) ||
sender instanceof Player && !player.isOp() && !m.isNear(player.getLocation(), target.getLocation(), 5.0))
if(sender instanceof Player && !player.isOp() && !m.isNear(player.getLocation(), target.getLocation(), 5.0))
{
sender.sendMessage("You are too far away to inspect that player!"); //TODO: Needs more locale.
}
Expand Down

0 comments on commit b2565be

Please sign in to comment.