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:
@@ -1809,7 +1809,7 @@ def chests(self, blockid, data):
|
||||
try:
|
||||
t = self.load_image("normal.png")
|
||||
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
|
||||
# item/chest.png and get by cropping all the needed stuff
|
||||
|
||||
Reference in New Issue
Block a user