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
96dbc2fb
Commit
96dbc2fb
authored
Apr 28, 2022
by
memetrollsXD
Committed by
Melledy
Apr 27, 2022
Browse files
God damn forgot I was in java for a sec
parent
b80b8aed
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/command/commands/AccountCommand.java
View file @
96dbc2fb
...
@@ -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