diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/command/profiles/DeleteProfileCommand.java b/LaunchServer/src/main/java/pro/gravit/launchserver/command/profiles/DeleteProfileCommand.java index 0331f614..642a115c 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/command/profiles/DeleteProfileCommand.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/command/profiles/DeleteProfileCommand.java @@ -30,7 +30,7 @@ public void invoke(String... args) throws Exception { verifyArgs(args, 1); ClientProfile profile = null; for(var p : server.getProfiles()) { - if(p.getUUID().toString().equals(args[0]) || p.getTitle().equals(args[1])) { + if(p.getUUID().toString().equals(args[0]) || p.getTitle().equals(args[0])) { profile = p; break; }