0

removed historical, seperate mask from texture tuples (Issue #516)

This commit is contained in:
Aaron Griffith
2011-10-31 13:40:38 -04:00
parent 69c109fc05
commit 75858f2df8
2 changed files with 3 additions and 3 deletions

View File

@@ -517,7 +517,7 @@ def generate_opaque_mask(img):
def generate_texture_tuple(img, blockid):
""" This takes an image and returns the needed tuple for the
blockmap list and specialblockmap dictionary."""
return (img.convert("RGB"), img.split()[3], generate_opaque_mask(img))
return (img, generate_opaque_mask(img))
def generate_special_texture(blockID, data):
"""Generates a special texture, such as a correctly facing minecraft track"""