Replace liquids in railcorridors

This commit is contained in:
Wuzzy 2017-05-20 05:26:18 +02:00
parent c98c0bc6e6
commit 6772609872
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ local function SetNodeIfCanBuild(pos, node, check_above)
end
local name = minetest.get_node(pos).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)
return true
else