limit length of blocktype array to 256

This commit is contained in:
David Vierra 2010-10-13 16:24:24 -10:00
parent e0b18c4ee0
commit 717e9384cd

View File

@ -125,7 +125,9 @@ classicMaterials.blockTextures = [
), (
(45, 45, 1, 1, 61, 61), "Lit Furnace",#62:
)] + [((NOTEX,)*6, "Not present in Creative") , #63-255: "Bugs",
] * 200
] * 200 #create extras, then cut them off on the next line
classicMaterials.blockTextures = classicMaterials.blockTextures[:256]
classicMaterials.names = [name for (faces, name) in classicMaterials.blockTextures]
@ -284,8 +286,9 @@ materials.blockTextures = [
),
] + [((NOTEX,)*6, "Future Block!") , ] * 200
] + [((NOTEX,)*6, "Future Block!") , ] * 200 #create extras, then cut them off on the next line
materials.blockTextures = materials.blockTextures[:256]