mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-15 16:34:56 +01:00
Save account to database
Signed-off-by: Jaida Wu <mlgmxyysd@meowcat.org>
This commit is contained in:
@@ -48,6 +48,7 @@ public class Account implements CommandHandler {
|
||||
} else {
|
||||
CommandHandler.sendMessage(null, "Account created with UID " + account.getPlayerId() + ".");
|
||||
account.addPermission("*"); // Grant the player superuser permissions.
|
||||
account.save(); // Save account to database.
|
||||
}
|
||||
return;
|
||||
case "delete":
|
||||
|
||||
Reference in New Issue
Block a user