Skip to content

Commit

Permalink
Lazy Biome Color Fix for Lily Pads and Vines
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspirata committed Jul 16, 2024
1 parent ec9ccb1 commit 4301d67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Mcblend Source/Materials/Materials.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import re
from ..MCB_API import *
from ..Data import *
from ..Resource_Packs import *
Expand Down Expand Up @@ -197,7 +196,7 @@ def fix_world():
if WProperties.lazy_biome_fix:
material_parts = image_texture_node.image.name.lower().replace(".png", "").replace("-", "_").split("_")

if any(part in material_parts for part in ("grass", "water", "leaves", "stem")) or ("redstone" and "dust" in material_parts) and all(part not in material_parts for part in ("cherry", "side")):
if any(part in material_parts for part in ("grass", "water", "leaves", "stem", "lily", "vine")) or ("redstone" and "dust" in material_parts) and all(part not in material_parts for part in ("cherry", "side")):
if lbcf_node is None:
if "Lazy Biome Color Fix" not in bpy.data.node_groups:
try:
Expand Down

0 comments on commit 4301d67

Please sign in to comment.