From 60147fd4b6794217f81be36cd892eb361e1c464b Mon Sep 17 00:00:00 2001 From: adman Date: Fri, 8 May 2026 19:16:42 +0200 Subject: [PATCH] correct "Properties" field case --- level/anvil/chunk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level/anvil/chunk.go b/level/anvil/chunk.go index 1f8ffd8..1a47273 100644 --- a/level/anvil/chunk.go +++ b/level/anvil/chunk.go @@ -48,7 +48,7 @@ func (c Chunk) ToStorage(version string) (toChunk *level.Chunk, err error) { if err != nil { return } - toChunk.Sections[i].BlockCount = int16(f.Len) + toChunk.Sections[i].BlockCount = 0 } } f = level.MakeBiomeFormat(version) @@ -89,7 +89,7 @@ type Section struct { Data []int64 `nbt:"data,omitempty"` Palette []struct { Name string - Properties map[string]string `nbt:"properties,omitempty"` + Properties map[string]string `nbt:"Properties,omitempty"` } } `nbt:"block_states,omitempty"` Biomes struct {