Skip to content

Commit

Permalink
Update scoreboard.js (PrismarineJS#3318)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicdum authored Mar 17, 2024
1 parent ab78bf8 commit 195b3cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/plugins/scoreboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function inject (bot) {
delete scoreboards[packet.name]

for (const position in ScoreBoard.positions) {
if (!ScoreBoard.positions[position]) continue
const scoreboard = ScoreBoard.positions[position]

if (scoreboard && scoreboard.name === packet.name) {
Expand Down

0 comments on commit 195b3cb

Please sign in to comment.