fix: Fixed chunk imports from save files

This commit is contained in:
Nicholas Novak 2023-12-11 00:28:30 -08:00
parent f2943c6809
commit 5e5df1c961

View File

@ -93,6 +93,7 @@ func (cd *ChunkData) FromMCAChunk(other save.Chunk) {
}
var currentSection ChunkSection
currentSection.Palette = NewSectionPalette()
paletteIndexes := []int{}
for _, compress := range section.BlockStates.Data {