summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorroot <root@mirzakhani.gpcf.eu>2018-05-08 11:27:26 +0200
committerroot <root@mirzakhani.gpcf.eu>2018-05-08 11:27:26 +0200
commitad50b4f6518422dd6c47a3e04d92cc487f17e486 (patch)
tree2ab4c2d93940f0cfacebc7226b6bab7a91e28a45 /init.lua
parentf0f0d5bbd292ac3bbf0c9dd373bd4e4776827e34 (diff)
parentd9de5c5d9081ba998edd02afed61c21cdafefaac (diff)
Merge branch 'master' of https://github.com/tenplus1/ethereal
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