mc.py: typo: n_chunk_x/n_chunk_y
This commit is contained in:
parent
c21aed27c5
commit
c7df1ed578
@ -39,7 +39,7 @@ def neighbor_exists(level_table, chunk_x, chunk_z, nx, ny, nz):
|
|||||||
return True
|
return True
|
||||||
n_block_index = mcregion.block_index_from_xyz(nx, ny, nz)
|
n_block_index = mcregion.block_index_from_xyz(nx, ny, nz)
|
||||||
n_block_id = level_table[key].blocks[n_block_index]
|
n_block_id = level_table[key].blocks[n_block_index]
|
||||||
n_block_data = decode_block_data(level_table, chunk_x, chunk_z, n_block_index)
|
n_block_data = decode_block_data(level_table, n_chunk_x, n_chunk_z, n_block_index)
|
||||||
return block_ids.is_neighbor_block(n_block_id, n_block_data)
|
return block_ids.is_neighbor_block(n_block_id, n_block_data)
|
||||||
|
|
||||||
def outside_crop(position, crop):
|
def outside_crop(position, crop):
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1033305
minecraft/love2dworld/map.txt
1033305
minecraft/love2dworld/map.txt
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user