From a930fc4c941b4cbd8d948e70eeba8a2c91c5c5bd Mon Sep 17 00:00:00 2001 From: Melledy <52122272+Melledy@users.noreply.github.com> Date: Tue, 31 May 2022 02:06:40 -0700 Subject: [PATCH] Fix players not setting their nickname properly after the opening cutscene --- .../server/packet/recv/HandlerSetPlayerBornDataReq.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerBornDataReq.java b/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerBornDataReq.java index aca362f3f..ddb2e8948 100644 --- a/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerBornDataReq.java +++ b/src/main/java/emu/grasscutter/server/packet/recv/HandlerSetPlayerBornDataReq.java @@ -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) {