From e265e86f4d5d57186e2f6d3274bf35d8beea3b4d Mon Sep 17 00:00:00 2001 From: cora Date: Tue, 16 Jul 2024 00:30:48 +0200 Subject: [PATCH] Remove mode existence checks from furnace mods --- mods/ITEMS/mcl_blast_furnace/init.lua | 5 +---- mods/ITEMS/mcl_furnaces/init.lua | 5 +---- mods/ITEMS/mcl_smoker/init.lua | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/mods/ITEMS/mcl_blast_furnace/init.lua b/mods/ITEMS/mcl_blast_furnace/init.lua index b9a0bcdf0..139a999fa 100644 --- a/mods/ITEMS/mcl_blast_furnace/init.lua +++ b/mods/ITEMS/mcl_blast_furnace/init.lua @@ -46,7 +46,4 @@ minetest.register_craft({ } }) --- Add entry alias for the Help -if minetest.get_modpath("doc") then - doc.add_entry_alias("nodes", "mcl_blast_furnace:blast_furnace", "nodes", "mcl_blast_furnace:blast_furnace_active") -end +doc.add_entry_alias("nodes", "mcl_blast_furnace:blast_furnace", "nodes", "mcl_blast_furnace:blast_furnace_active") diff --git a/mods/ITEMS/mcl_furnaces/init.lua b/mods/ITEMS/mcl_furnaces/init.lua index d73d91835..60688fdb3 100644 --- a/mods/ITEMS/mcl_furnaces/init.lua +++ b/mods/ITEMS/mcl_furnaces/init.lua @@ -637,10 +637,7 @@ minetest.register_craft({ } }) --- Add entry alias for the Help -if minetest.get_modpath("doc") then - doc.add_entry_alias("nodes", "mcl_furnaces:furnace", "nodes", "mcl_furnaces:furnace_active") -end +doc.add_entry_alias("nodes", "mcl_furnaces:furnace", "nodes", "mcl_furnaces:furnace_active") minetest.register_lbm({ label = "Update Furnace formspecs and invs to allow new sneak+click behavior", diff --git a/mods/ITEMS/mcl_smoker/init.lua b/mods/ITEMS/mcl_smoker/init.lua index 5e51b3a66..622e213c3 100644 --- a/mods/ITEMS/mcl_smoker/init.lua +++ b/mods/ITEMS/mcl_smoker/init.lua @@ -46,7 +46,4 @@ minetest.register_craft({ } }) --- Add entry alias for the Help -if minetest.get_modpath("doc") then - doc.add_entry_alias("nodes", "mcl_smoker:smoker", "nodes", "mcl_smoker:smoker_active") -end +doc.add_entry_alias("nodes", "mcl_smoker:smoker", "nodes", "mcl_smoker:smoker_active")