From 427f6fb92d9aebd7014bbf53efce304afd56fbd8 Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Sat, 28 Aug 2010 20:29:38 -0400 Subject: [PATCH] padded block list to 256 length --- textures.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/textures.py b/textures.py index 5cb6555..e5d9ba1 100644 --- a/textures.py +++ b/textures.py @@ -176,4 +176,6 @@ def _build_blockimages(): # Maps block images to the appropriate texture on each side. This map is not # appropriate for all block types blockmap = _build_blockimages() - +# Future block types: +while len(blockmap) < 256: + blockmap.append(None)