From 27f780e57260356fe60742b7df6bbe472299f22b Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Mon, 31 Aug 2015 11:39:12 +0200 Subject: [PATCH] Add aliases for snow - Temporary fix for #257 --- mods/snow/aliases.lua | 2 ++ mods/snow/init.lua | 1 + 2 files changed, 3 insertions(+) create mode 100644 mods/snow/aliases.lua diff --git a/mods/snow/aliases.lua b/mods/snow/aliases.lua new file mode 100644 index 00000000..cf8b3f22 --- /dev/null +++ b/mods/snow/aliases.lua @@ -0,0 +1,2 @@ +minetest.register_alias("snow:needles", "default:pine_needles") +minetest.register_alias("snow:leaves", "default:pine_needles") diff --git a/mods/snow/init.lua b/mods/snow/init.lua index ce3531aa..b7f12bf3 100755 --- a/mods/snow/init.lua +++ b/mods/snow/init.lua @@ -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")