diff --git a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java index 67f711f4..5ec014e3 100644 --- a/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java +++ b/common/src/main/java/com/hibiscusmc/hmccosmetics/command/CosmeticCommand.java @@ -262,7 +262,6 @@ public class CosmeticCommand implements CommandExecutor { case ("dataclear") -> { if (args.length == 1) return true; OfflinePlayer selectedPlayer = Bukkit.getOfflinePlayer(args[1]); - if (selectedPlayer == null) return true; if (!sender.hasPermission("hmccosmetics.cmd.dataclear") && !sender.isOp()) { if (!silent) MessagesUtil.sendMessage(sender, "no-permission"); return true;