Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion minecraft/resource/pack.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (pack *Pack) Checksum() [32]byte {

// Len returns the total length in bytes of the content of the archive that contained the resource pack.
func (pack *Pack) Len() int {
return pack.content.Len()
return int(pack.content.Size())
}

// DataChunkCount returns the amount of chunks the data of the resource pack is split into if each chunk has
Expand Down
Loading