From b2565bedd357c4be63db3d5f1578553b4c461011 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 3 Apr 2012 12:30:11 -0700 Subject: [PATCH] Redundant redundancy :D --- .../com/gmail/nossr50/commands/general/InspectCommand.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/general/InspectCommand.java b/src/main/java/com/gmail/nossr50/commands/general/InspectCommand.java index 138ba27de..df448236b 100644 --- a/src/main/java/com/gmail/nossr50/commands/general/InspectCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/general/InspectCommand.java @@ -47,8 +47,7 @@ public class InspectCommand implements CommandExecutor { 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. }