[FIX] DeleteProfileCommand

This commit is contained in:
Gravit'a 2024-03-10 14:53:52 +07:00
parent 572052163b
commit d811a04cba
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ public class DeleteProfileCommand extends Command {
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;
}