0

padded block list to 256 length

This commit is contained in:
Andrew Brown
2010-08-28 20:29:38 -04:00
parent 145d271195
commit 427f6fb92d

View File

@@ -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)