summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index 51f2ee0..b628116 100644
--- a/init.lua
+++ b/init.lua
@@ -99,12 +99,13 @@ dofile(path .. "/compatibility.lua")
dofile(path .. "/stairs.lua")
dofile(path .. "/lucky_block.lua")
--- Use bonemeal mod instead of ethereal's own if found
+-- Set bonemeal aliases
if minetest.get_modpath("bonemeal") then
minetest.register_alias("ethereal:bone", "bonemeal:bone")
minetest.register_alias("ethereal:bonemeal", "bonemeal:bonemeal")
-else
- dofile(path .. "/bonemeal.lua")
+else -- or return to where it came from
+ minetest.register_alias("ethereal:bone", "default:dirt")
+ minetest.register_alias("ethereal:bonemeal", "default:dirt")
end
if minetest.get_modpath("xanadu") then