Added manager.bake() in default method.

This commit is contained in:
Paldiu 2023-01-26 20:12:38 -06:00 committed by GitHub
parent f007e11530
commit 99de26833c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ public class GroupCMD extends AbstractCommandBase {
return Component.text("Removed permission " + value + " from group " + group + "!").color(NamedTextColor.GREEN);
}
default:
manager.bake();
return Component.text("Invalid target!").color(NamedTextColor.RED);
}
}