padded block list to 256 length
This commit is contained in:
@@ -176,4 +176,6 @@ def _build_blockimages():
|
|||||||
# Maps block images to the appropriate texture on each side. This map is not
|
# Maps block images to the appropriate texture on each side. This map is not
|
||||||
# appropriate for all block types
|
# appropriate for all block types
|
||||||
blockmap = _build_blockimages()
|
blockmap = _build_blockimages()
|
||||||
|
# Future block types:
|
||||||
|
while len(blockmap) < 256:
|
||||||
|
blockmap.append(None)
|
||||||
|
|||||||
Reference in New Issue
Block a user