Skip to content

Commit

Permalink
item/written_book.go: Remove max count
Browse files Browse the repository at this point in the history
  • Loading branch information
DaPigGuy committed Nov 27, 2024
1 parent 52b4214 commit 3e1d2b0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/item/written_book.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ type WrittenBook struct {
Pages []string
}

// MaxCount always returns 1.
func (WrittenBook) MaxCount() int {
return 1
}

// TotalPages returns the total number of pages in the book.
func (w WrittenBook) TotalPages() int {
return len(w.Pages)
Expand Down

0 comments on commit 3e1d2b0

Please sign in to comment.