Fixed: Newly created chunks create the HeightMap array with the correct byte order.
This commit is contained in:
parent
4629531703
commit
5f8d9e67a4
@ -123,7 +123,7 @@ class AnvilChunk(LightedChunk):
|
||||
levelTag = nbt.TAG_Compound()
|
||||
chunkTag["Level"] = levelTag
|
||||
|
||||
levelTag["HeightMap"] = nbt.TAG_Int_Array(zeros((16, 16), 'uint32'))
|
||||
levelTag["HeightMap"] = nbt.TAG_Int_Array(zeros((16, 16), 'uint32').newbyteorder())
|
||||
levelTag["TerrainPopulated"] = nbt.TAG_Byte(1)
|
||||
levelTag["xPos"] = nbt.TAG_Int(cx)
|
||||
levelTag["zPos"] = nbt.TAG_Int(cz)
|
||||
|
Reference in New Issue
Block a user