Skip to content

Commit

Permalink
block/banner.go: Allow middle click picking customized banners
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Jan 13, 2025
1 parent 104f6d8 commit ad326d7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/block/banner.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ type Banner struct {
Illager bool
}

// Pick ...
func (b Banner) Pick() item.Stack {
return item.NewStack(Banner{Colour: b.Colour, Patterns: b.Patterns, Illager: b.Illager}, 1)
}

// MaxCount ...
func (Banner) MaxCount() int {
return 16
Expand Down

0 comments on commit ad326d7

Please sign in to comment.