Fix players not setting their nickname properly after the opening cutscene

This commit is contained in:
Melledy 2022-05-31 02:06:40 -07:00
parent f5347cf98b
commit aaf7777020

View File

@ -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) {