Skip to content

Commit

Permalink
fix: should use set_display
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Aug 3, 2024
1 parent 1ce12f9 commit f4ea8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endstone_sidebar/sidebar_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def update_sidebar_for(self, player: Player) -> None:
objective.get_score(line).value = counter
counter += 1

objective.display_slot = DisplaySlot.SIDE_BAR
objective.set_display(DisplaySlot.SIDE_BAR)

def load_config(self) -> None:
self.update_period = self.config["update_period"]
Expand Down

0 comments on commit f4ea8c6

Please sign in to comment.