Skip to content

Commit

Permalink
Fixed note block, plays the previous note when breaking.
Browse files Browse the repository at this point in the history
  • Loading branch information
mokhtarfa authored Jan 10, 2024
1 parent 21eb18f commit 23ea652
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/block/note.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func (n Note) Punch(pos cube.Pos, _ cube.Face, w *world.World, _ item.User) {
if _, ok := w.Block(pos.Side(cube.FaceUp)).(Air); !ok {
return
}
n.playNote(pos, w)
}

// Activate ...
Expand Down

0 comments on commit 23ea652

Please sign in to comment.