mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-25 20:11:06 +01:00
Replace liquids in railcorridors
This commit is contained in:
parent
c98c0bc6e6
commit
6772609872
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ local function SetNodeIfCanBuild(pos, node, check_above)
|
||||||
end
|
end
|
||||||
local name = minetest.get_node(pos).name
|
local name = minetest.get_node(pos).name
|
||||||
local def = minetest.registered_nodes[name]
|
local def = minetest.registered_nodes[name]
|
||||||
if name ~= "unknown" and name ~= "ignore" and def.is_ground_content and def.liquidtype == "none" then
|
if name ~= "unknown" and name ~= "ignore" and def.is_ground_content then
|
||||||
minetest.set_node(pos, node)
|
minetest.set_node(pos, node)
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue