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
aaf77770
Commit
aaf77770
authored
May 31, 2022
by
Melledy
Browse files
Fix players not setting their nickname properly after the opening cutscene
parent
f5347cf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerBornDataReq.java
View file @
aaf77770
...
...
@@ -47,7 +47,8 @@ public class HandlerSetPlayerBornDataReq extends PacketHandler {
}
// Get player object
Player
player
=
session
.
getPlayer
();
Player
player
=
session
.
getPlayer
();
player
.
setNickname
(
req
.
getNickName
());
// Create avatar
if
(
player
.
getAvatars
().
getAvatarCount
()
==
0
)
{
...
...
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