mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-10 04:12:54 +08:00
Fix players not setting their nickname properly after the opening cutscene
This commit is contained in:
parent
f5347cf98b
commit
aaf7777020
@ -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