Commit aaf77770 authored by Melledy's avatar Melledy
Browse files

Fix players not setting their nickname properly after the opening cutscene

parent f5347cf9
...@@ -48,6 +48,7 @@ public class HandlerSetPlayerBornDataReq extends PacketHandler { ...@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment