mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-06-01 03:20:03 -04:00
Depollute the code
This commit is contained in:
parent
34d9499f3e
commit
ed6a047adf
2 changed files with 2 additions and 3 deletions
|
@ -118,7 +118,7 @@ minetest.register_craft( {
|
|||
recipe = {
|
||||
{"farming:string", "farming:string"},
|
||||
{"farming:string", "farming:string"},
|
||||
{"default:stick", ""}
|
||||
{"group:stick", ""}
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
@ -240,8 +240,7 @@ function flowers.mushroom_spread(pos, node)
|
|||
end
|
||||
local pos2 = positions[math.random(#positions)]
|
||||
pos2.y = pos2.y + 1
|
||||
if minetest.get_node_light(pos, 0.5) <= 3 and
|
||||
minetest.get_node_light(pos2, 0.5) <= 3 then
|
||||
if minetest.get_node_light(pos, 0.5) <= 3 then
|
||||
minetest.set_node(pos2, {name = node.name})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue