Skip to content

Commit

Permalink
White space fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bundabrg committed Jun 1, 2020
1 parent f93e223 commit 657336c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,6 @@ public void updateBedrockMetadata(EntityMetadata entityMetadata, GeyserSession s
* @return Name of player entity
*/
public String getName() {
return displayName==null?username:displayName;
return displayName == null ? username : displayName;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void translate(ServerPlayerListEntryPacket packet, GeyserSession session)
playerEntity.setProfile(entry.getProfile());
playerEntity.setPlayerList(true);
playerEntity.setValid(true);
playerEntity.setDisplayName(entry.getDisplayName()!=null?entry.getDisplayName().getFullText():null);
playerEntity.setDisplayName(entry.getDisplayName() != null ? entry.getDisplayName().getFullText() : null);

PlayerListPacket.Entry playerListEntry = SkinUtils.buildCachedEntry(playerEntity);
if (self) {
Expand Down

0 comments on commit 657336c

Please sign in to comment.