register lom-nodeboxes only when ethereal mod is detected

This commit is contained in:
Milan* 2017-03-20 22:34:18 +01:00
parent f0c10c432f
commit c3454c1b77

View File

@ -197,7 +197,7 @@ minetest.register_node("illuna:lw_instructions", {
}) })
-- nodeboxes by https://github.com/D00Med/LegendofMinetest -- nodeboxes by https://github.com/D00Med/LegendofMinetest
if minetest.get_modpath("ethereal") then
minetest.override_item("default:furnace", { minetest.override_item("default:furnace", {
drawtype = "nodebox", drawtype = "nodebox",
paramtype = "light", paramtype = "light",
@ -244,3 +244,4 @@ minetest.override_item("default:chest", {
} }
}, },
}) })
end