Remove mod existence check in mcl_cake

This commit is contained in:
cora 2024-07-05 19:18:24 +02:00 committed by Elias Åström
parent 51c65854a7
commit a32d5b8312

View File

@ -143,9 +143,7 @@ local register_slice = function(level, nodebox, desc)
_mcl_hardness = 0.5,
})
if minetest.get_modpath("doc") then
doc.add_entry_alias("nodes", "mcl_cake:cake", "nodes", "mcl_cake:cake_"..level)
end
doc.add_entry_alias("nodes", "mcl_cake:cake", "nodes", "mcl_cake:cake_"..level)
end
register_slice(6, slice_6, S("Cake (6 Slices Left)"))