forked from erle/bushy_leaves
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:
parent
9be33ef9c3
commit
e3c287193b
2
init.lua
2
init.lua
|
@ -40,7 +40,7 @@ local node_box_full_node = {
|
||||||
local get_node_box = function(node_name, node_def)
|
local get_node_box = function(node_name, node_def)
|
||||||
local node_box
|
local node_box
|
||||||
if (
|
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")
|
string.match(node_name, "needles")
|
||||||
) then
|
) then
|
||||||
node_box = node_box_bushy_leaves
|
node_box = node_box_bushy_leaves
|
||||||
|
|
Loading…
Reference in New Issue