improve chunk palette handling and logging; fix biome format and storage comparison logic

This commit is contained in:
adman
2026-05-04 00:27:00 +02:00
parent 3b1b436ecf
commit e5231dfdb6
4 changed files with 41 additions and 5 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func (c Chunk) ToStorage(version string) (toChunk *level.Chunk, err error) {
toChunk.Sections[i].BlockCount = int16(f.Len)
}
}
f = level.MakeBiomeFormat(version)
for i, s := range c.Sections {
pallete := make([]int32, len(s.Biomes.Palette))
for j, p := range s.Biomes.Palette {