Skip to content

Commit

Permalink
fix(bungee): unable to join when translating certain tab list entries (
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotcorreia authored May 21, 2023
1 parent c49c9db commit dcd426d
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,20 @@ public void refreshTabHeaderFooter(String header, String footer) {
private PlayerListItem.Item clonePlayerListItem(PlayerListItem.Item item) {
PlayerListItem.Item item1 = new PlayerListItem.Item();
item1.setUuid(item.getUuid());
item1.setDisplayName(item.getDisplayName());
item1.setGamemode(item.getGamemode());

item1.setUsername(item.getUsername());
item1.setProperties(item.getProperties());

item1.setChatSessionId(item.getChatSessionId());
item1.setPublicKey(item.getPublicKey());

item1.setListed(item.getListed());

item1.setGamemode(item.getGamemode());

item1.setPing(item.getPing());
item1.setUsername(item.getUsername());

item1.setDisplayName(item.getDisplayName());
return item1;
}

Expand Down

0 comments on commit dcd426d

Please sign in to comment.