Skip to content

Commit

Permalink
block/note.go: Fix block break drop including Pitch
Browse files Browse the repository at this point in the history
Closes #854
  • Loading branch information
DaPigGuy committed Jan 3, 2025
1 parent 65db290 commit 3fa095d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/block/note.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (n Note) Activate(pos cube.Pos, _ cube.Face, tx *world.Tx, _ item.User, _ *

// BreakInfo ...
func (n Note) BreakInfo() BreakInfo {
return newBreakInfo(0.8, alwaysHarvestable, axeEffective, oneOf(n))
return newBreakInfo(0.8, alwaysHarvestable, axeEffective, oneOf(Note{}))
}

// FuelInfo ...
Expand Down

0 comments on commit 3fa095d

Please sign in to comment.