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

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