diff --git a/src/main/java/com/lishid/openinv/commands/OpenEnderCommand.java b/src/main/java/com/lishid/openinv/commands/OpenEnderCommand.java index 4fbaa0c..28a3ed5 100644 --- a/src/main/java/com/lishid/openinv/commands/OpenEnderCommand.java +++ b/src/main/java/com/lishid/openinv/commands/OpenEnderCommand.java @@ -82,7 +82,6 @@ public class OpenEnderCommand implements CommandExecutor { } else { uuid = UUIDUtil.getUUIDOf(args[0]); - if (uuid == null) { player.sendMessage(ChatColor.RED + "Player not found!"); return true; diff --git a/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java b/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java index 2bfbb8c..3d2cdd7 100644 --- a/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java +++ b/src/main/java/com/lishid/openinv/commands/OpenInvCommand.java @@ -75,7 +75,6 @@ public class OpenInvCommand implements CommandExecutor { } else { uuid = UUIDUtil.getUUIDOf(args[0]); - if (uuid == null) { player.sendMessage(ChatColor.RED + "Player not found!"); return true;