mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-29 05:51:05 +01:00
Fix code typo in mcl_core/functions.lua
This commit is contained in:
parent
35f1e4b1d2
commit
e62f8187bd
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ mcl_core.grow_reeds = function(pos, node)
|
||||||
pos.y = pos.y-1
|
pos.y = pos.y-1
|
||||||
local name = minetest.get_node(pos).name
|
local name = minetest.get_node(pos).name
|
||||||
if minetest.get_node_group(name, "soil_sugarcane") ~= 0 then
|
if minetest.get_node_group(name, "soil_sugarcane") ~= 0 then
|
||||||
if minetest.find_node_near(pos, 1, {"group:water"}) == nil and minetest.find_node_neat(pos, 1, {"group:frosted_ice"}) == nil then
|
if minetest.find_node_near(pos, 1, {"group:water"}) == nil and minetest.find_node_near(pos, 1, {"group:frosted_ice"}) == nil then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
pos.y = pos.y+1
|
pos.y = pos.y+1
|
||||||
|
|
Loading…
Reference in a new issue