Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
28a08448
Commit
28a08448
authored
Apr 28, 2022
by
memetrollsXD
Browse files
God damn forgot I was in java for a sec
parent
8d332614
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/AccountCommand.java
View file @
28a08448
...
@@ -46,7 +46,7 @@ public final class AccountCommand implements CommandHandler {
...
@@ -46,7 +46,7 @@ public final class AccountCommand implements CommandHandler {
CommandHandler
.
sendMessage
(
null
,
"Account already exists."
);
CommandHandler
.
sendMessage
(
null
,
"Account already exists."
);
return
;
return
;
}
else
{
}
else
{
account
.
addPermission
(
'*'
);
account
.
addPermission
(
"*"
);
account
.
save
();
// Save account to database.
account
.
save
();
// Save account to database.
CommandHandler
.
sendMessage
(
null
,
"Account created with UID "
+
account
.
getPlayerUid
()
+
"."
);
CommandHandler
.
sendMessage
(
null
,
"Account created with UID "
+
account
.
getPlayerUid
()
+
"."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment