Skip to content

Commit

Permalink
block/composter.go: Fix hopper insert behavior (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipad54 authored Aug 18, 2024
1 parent 1e2bbf2 commit d561f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/block/composter.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type Composter struct {

// InsertItem ...
func (c Composter) InsertItem(h Hopper, pos cube.Pos, w *world.World) bool {
if c.Level == 8 {
if c.Level >= 7 || h.Facing != cube.FaceDown {
return false
}

Expand Down

0 comments on commit d561f13

Please sign in to comment.