[FIX] DeleteProfileCommand

This commit is contained in:
Gravit'a 2024-03-10 14:53:52 +07:00
parent 572052163b
commit d811a04cba

View file

@ -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;
}