diff --git a/src/main/java/com/badbones69/crazycrates/commands/crates/types/player/CommandKey.java b/src/main/java/com/badbones69/crazycrates/commands/crates/types/player/CommandKey.java index 3c15de2a3..35b62b71d 100644 --- a/src/main/java/com/badbones69/crazycrates/commands/crates/types/player/CommandKey.java +++ b/src/main/java/com/badbones69/crazycrates/commands/crates/types/player/CommandKey.java @@ -54,7 +54,7 @@ public void view(CommandSender sender, @ArgName("player") @Optional @Suggestion( return; } - if (target == sender) { + if (target.getName().equalsIgnoreCase(sender.getName())) { personal(target); return;