refactor chunk version handling; improve logging in equality checks and storage import logic
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user