Create new Anvil chunks with a TAG_Int_Array for the HeightMap array
This commit is contained in:
parent
06c2168eed
commit
d0784287b8
@ -1104,10 +1104,6 @@ class AnvilChunk(InfdevChunk):
|
||||
self._SkyLight = zeros((16, 16, self.world.Height), uint8)
|
||||
self._SkyLight[:] = 15
|
||||
|
||||
if self.world.Height <= 256:
|
||||
levelTag[HeightMap] = TAG_Byte_Array()
|
||||
levelTag[HeightMap].value = zeros((16, 16), uint8)
|
||||
else:
|
||||
levelTag[HeightMap] = TAG_Int_Array()
|
||||
levelTag[HeightMap].value = zeros((16, 16), uint32).newbyteorder()
|
||||
|
||||
|
Reference in New Issue
Block a user