Archived
0

public variable to enum in PlayerListItemPacket

This commit is contained in:
2018-08-12 19:39:25 +03:00
parent d27228d640
commit b811653795
2 changed files with 19 additions and 16 deletions

View File

@@ -96,7 +96,7 @@ public class LoginHandler extends AbstractStateHandler implements LoginStateHand
// Send <Tab> items
PlayerListItemPacket pkt5 = new PlayerListItemPacket();
pkt5.setAction(PlayerListItemPacket.ACTION_ADD_PLAYER);
pkt5.setAction(PlayerListItemPacket.Action.ADD_PLAYER);
PlayerListItemPacket.PlayerData playerData = new PlayerListItemPacket.PlayerData();
playerData.setUuid(player.getUUID());
playerData.setName(player.getName());