mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-03 18:04:28 +00:00
Fix players not setting their nickname properly after the opening cutscene
This commit is contained in:
parent
5bc4f8a434
commit
a930fc4c94
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user