Fixes dirt or grass in in Plantlife mod

When using this mod with Plantlife mod, it causes the nodes grass_with_leaves and dirt_with_leaves nodes to be converted to this nodebox.   This fixes that.
This commit is contained in:
Neuromancer56 2023-05-29 22:22:54 +00:00
parent 9be33ef9c3
commit e3c287193b
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ local node_box_full_node = {
local get_node_box = function(node_name, node_def)
local node_box
if (
string.match(node_name, "leaves") or
(string.match(node_name, "leaves") and not(string.match(node_name, "with_leaves") ))or
string.match(node_name, "needles")
) then
node_box = node_box_bushy_leaves