Fix param2 not being set when grass spreads
This commit is contained in:
parent
31f3b1302b
commit
3d69189918
@ -294,7 +294,7 @@ minetest.register_abm({
|
||||
if minetest.get_item_group(n2.name, "grass_block") ~= 0 then
|
||||
n2 = mcl_core.get_grass_block_type(pos)
|
||||
end
|
||||
minetest.swap_node(pos, {name=n2.name})
|
||||
minetest.swap_node(pos, n2)
|
||||
|
||||
-- If this was mycelium, uproot plant above
|
||||
if n2.name == "mcl_core:mycelium" then
|
||||
|
Loading…
x
Reference in New Issue
Block a user