mirror of
https://github.com/TeamMidnightDust/BetterLeavesLite.git
synced 2025-12-14 19:55:08 +01:00
Wilder Wild compatibility
Finally, a mod that organizes assets correctly :) - Closes #2
This commit is contained in:
@@ -128,7 +128,6 @@ def scanPacksForTexture(baseRoot, baseInfile):
|
||||
for root, dirs, files in os.walk("./input/texturepacks"):
|
||||
for infile in files:
|
||||
if "assets" in root and "assets" in baseRoot:
|
||||
#print(root.split("assets")[1] + " -> " + infile + " | " + baseRoot.split("assets")[1] + " -> " + baseInfile)
|
||||
if infile.endswith(".png") and (len(root.split("/")) > 3) and (baseInfile == infile) and (root.split("assets")[1] == baseRoot.split("assets")[1]):
|
||||
printCyan(" Using texture from: " + root.split("assets")[0].replace("./input/texturepacks/", ""))
|
||||
return root;
|
||||
|
||||
Reference in New Issue
Block a user