mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-12-04 19:01:29 +00:00
Fix players not setting their nickname properly after the opening cutscene
This commit is contained in:
parent
5bc4f8a434
commit
a930fc4c94
@ -48,6 +48,7 @@ public class HandlerSetPlayerBornDataReq extends PacketHandler {
|
|||||||
|
|
||||||
// Get player object
|
// Get player object
|
||||||
Player player = session.getPlayer();
|
Player player = session.getPlayer();
|
||||||
|
player.setNickname(req.getNickName());
|
||||||
|
|
||||||
// Create avatar
|
// Create avatar
|
||||||
if (player.getAvatars().getAvatarCount() == 0) {
|
if (player.getAvatars().getAvatarCount() == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user