more optimizations
This commit is contained in:
parent
5ad58e905d
commit
6a446e1b18
|
@ -479,8 +479,6 @@ class YTDServerFactory(ServerFactory):
|
||||||
sec[i] = BLOCK_SUBSURFACE
|
sec[i] = BLOCK_SUBSURFACE
|
||||||
elif xi == (yi+2)%16 and (yi+2)%16 == zi:
|
elif xi == (yi+2)%16 and (yi+2)%16 == zi:
|
||||||
sec[i] = BLOCK_UNDERGROUND
|
sec[i] = BLOCK_UNDERGROUND
|
||||||
else:
|
|
||||||
sec[i] = BLOCK_EMPTY
|
|
||||||
height_map = NBT.TagRoot({'':NBT.TagCompound({'MOTION_BLOCKING':NBT.TagLongArray(PackedArray.empty_height())})})
|
height_map = NBT.TagRoot({'':NBT.TagCompound({'MOTION_BLOCKING':NBT.TagLongArray(PackedArray.empty_height())})})
|
||||||
return sections, height_map
|
return sections, height_map
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue