mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-28 05:21:05 +01:00
Remove Emerge-0 warning that occurs when placing mineshafts
This commit is contained in:
parent
db2f02b485
commit
b8f0a271dd
1 changed files with 1 additions and 4 deletions
|
@ -221,10 +221,7 @@ local function update_rail_connections(pos, opt)
|
|||
|
||||
local node = minetest.get_node(pos)
|
||||
local nodedef = minetest.registered_nodes[node.name]
|
||||
if not nodedef or not nodedef._mcl_minecarts then
|
||||
minetest.log("warning", "attempting to rail connect to "..node.name)
|
||||
return
|
||||
end
|
||||
if not nodedef or not nodedef._mcl_minecarts then return end
|
||||
|
||||
-- Get the mappings to use
|
||||
local rules = HORIZONTAL_RULES_BY_RAIL_GROUP[nodedef.groups.rail]
|
||||
|
|
Loading…
Reference in a new issue