diff options
author | root <root@mirzakhani.gpcf.eu> | 2018-05-08 11:27:26 +0200 |
---|---|---|
committer | root <root@mirzakhani.gpcf.eu> | 2018-05-08 11:27:26 +0200 |
commit | ad50b4f6518422dd6c47a3e04d92cc487f17e486 (patch) | |
tree | 2ab4c2d93940f0cfacebc7226b6bab7a91e28a45 /init.lua | |
parent | f0f0d5bbd292ac3bbf0c9dd373bd4e4776827e34 (diff) | |
parent | d9de5c5d9081ba998edd02afed61c21cdafefaac (diff) |
Merge branch 'master' of https://github.com/tenplus1/ethereal
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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
|