0

trying to fix Travis build about chest texture not found. When normal.png from texture pack not found, fall back to chest.png

This commit is contained in:
joe-mojo
2013-10-14 00:49:24 +02:00
parent 026a2722da
commit b2e0d6da28

View File

@@ -1809,7 +1809,7 @@ def chests(self, blockid, data):
try: try:
t = self.load_image("normal.png") t = self.load_image("normal.png")
except (TextureException, IOError): except (TextureException, IOError):
t = self.load_image("trap_small.png") t = self.load_image("chest.png")
# the textures is no longer in terrain.png, get it from # the textures is no longer in terrain.png, get it from
# item/chest.png and get by cropping all the needed stuff # item/chest.png and get by cropping all the needed stuff