0

Fixed default texture loading

Now accounts for the versions directory, which is maintained by the new
launcher
This commit is contained in:
Andrew Chin
2013-07-02 19:05:17 -04:00
parent 00e4528ddc
commit 57ab387b29
2 changed files with 13 additions and 5 deletions

View File

@@ -148,12 +148,12 @@ def main():
logging.info("Looking for a few common texture files...")
try:
f = tex.find_file("textures/blocks/stone.png", verbose=True)
f = tex.find_file("textures/blocks/tallgrass.png", verbose=True)
f = tex.find_file("textures/blocks/oreDiamond.png", verbose=True)
f = tex.find_file("textures/blocks/wood.png", verbose=True)
f = tex.find_file("assets/minecraft/textures/blocks/sandstone_top.png", verbose=True)
f = tex.find_file("assets/minecraft/textures/blocks/grass_top.png", verbose=True)
f = tex.find_file("assets/minecraft/textures/blocks/diamond_ore.png", verbose=True)
f = tex.find_file("assets/minecraft/textures/blocks/planks_oak.png", verbose=True)
except IOError:
logging.error("Could not find the file stone.png")
logging.error("Could not find any texture files.")
return 1
return 0