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 5bc4f8a434
commit a930fc4c94

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