Add aliases for snow

- Temporary fix for #257
This commit is contained in:
LeMagnesium 2015-08-31 11:39:12 +02:00
parent 70b5263459
commit 27f780e572
2 changed files with 3 additions and 0 deletions

2
mods/snow/aliases.lua Normal file
View File

@ -0,0 +1,2 @@
minetest.register_alias("snow:needles", "default:pine_needles")
minetest.register_alias("snow:leaves", "default:pine_needles")

View File

@ -62,6 +62,7 @@ dofile(minetest.get_modpath("snow").."/src/util.lua")
-- To get Xmas tree saplings, the "christmas_content", true or false, in "util.lua" has to be determined first.
-- That means "nodes.lua", where the saplings are controlled, has to come after "util.lua". ~ LazyJ
dofile(minetest.get_modpath("snow").."/src/nodes.lua")
dofile(minetest.get_modpath("snow").."/aliases.lua")
dofile(minetest.get_modpath("snow").."/src/basic_stairs_slabs.lua")
-- dofile(minetest.get_modpath("snow").."/src/mapgen.lua")
dofile(minetest.get_modpath("snow").."/src/sled.lua")