Skip to content

Commit

Permalink
fix #41 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei1058 committed Dec 2, 2023
1 parent 1cabe38 commit 489ce32
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@

public class PlayerListImpl extends ScoreboardTeam implements VersionedTabGroup {
private final SidebarLine prefix;
private ChatComponentText prefixComponent;
private ChatComponentText prefixComponent = new ChatComponentText("");
private final SidebarLine suffix;
private ChatComponentText suffixComponent;
private ChatComponentText suffixComponent = new ChatComponentText("");
private final WrappedSidebar sidebar;
private final String id;
private ScoreboardTeamBase.EnumNameTagVisibility nameTagVisibility;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public SidebarObjective createObjective(String name, IScoreboardCriteria iScoreb
protected class NarniaSidebarObjective extends ScoreboardObjective implements SidebarObjective {

private SidebarLine displayName;
private ChatComponentText displayNameComponent;
private ChatComponentText displayNameComponent = new ChatComponentText("");
private final int type;

public NarniaSidebarObjective(String name, IScoreboardCriteria criteria, SidebarLine displayName, int type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public SidebarObjective createObjective(String name, IScoreboardCriteria iScoreb
protected class NarniaSidebarObjective extends ScoreboardObjective implements SidebarObjective {

private SidebarLine displayName;
private ChatComponentText displayNameComp;
private ChatComponentText displayNameComp = new ChatComponentText("");
private final int type;

public NarniaSidebarObjective(String name, IScoreboardCriteria criteria, SidebarLine displayName, int type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public SidebarObjective createObjective(String name, IScoreboardCriteria iScoreb
protected class NarniaSidebarObjective extends ScoreboardObjective implements SidebarObjective {

private SidebarLine displayName;
private IChatMutableComponent displayNameComp;
private IChatMutableComponent displayNameComp = IChatBaseComponent.b("");
private final int type;

public NarniaSidebarObjective(String name, IScoreboardCriteria criteria, SidebarLine displayName, int type) {
Expand Down

0 comments on commit 489ce32

Please sign in to comment.