refactor chunk version handling; improve logging in equality checks and storage import logic

This commit is contained in:
adman
2026-05-05 13:30:21 +02:00
parent e5231dfdb6
commit 00ea02a529
3 changed files with 10 additions and 9 deletions
+1
View File
@@ -22,6 +22,7 @@ const McPrefix = "minecraft:"
func (c Chunk) ToStorage(version string) (toChunk *level.Chunk, err error) {
f := level.MakeBlockFormat(version)
toChunk = new(level.Chunk)
toChunk.Version = version
toChunk.Sections = make([]level.Section, len(c.Sections))
for i, s := range c.Sections {