From f841ce942a5a88799796bb7877f4cb4a501b92d5 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Sun, 28 Apr 2024 20:17:33 +0000 Subject: [PATCH] Remove Emerge-0 warning that occurs when placing mineshafts --- mods/ENTITIES/mcl_minecarts/functions.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mods/ENTITIES/mcl_minecarts/functions.lua b/mods/ENTITIES/mcl_minecarts/functions.lua index d9e12fb02..9860327e8 100644 --- a/mods/ENTITIES/mcl_minecarts/functions.lua +++ b/mods/ENTITIES/mcl_minecarts/functions.lua @@ -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]