Remove mode existence checks from furnace mods

This commit is contained in:
cora 2024-07-16 00:30:48 +02:00 committed by Elias Åström
parent 4f1ff7aff4
commit e265e86f4d
3 changed files with 3 additions and 12 deletions

View File

@ -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")

View File

@ -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",

View File

@ -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")