1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-26 10:40:37 +01:00

add alias to homedecor:wardrobe

This commit is contained in:
crabman77 2017-01-20 03:59:22 +01:00
parent 4e0b1ea022
commit 06a1153d25
2 changed files with 9 additions and 4 deletions

View File

@ -127,7 +127,7 @@ dofile(modpath.."/cobweb.lua")
dofile(modpath.."/books.lua")
dofile(modpath.."/exterior.lua")
dofile(modpath.."/trash_cans.lua")
-- dofile(modpath.."/wardrobe.lua") --MFF crabman(30/07/2015) disabled wardrobe, duplicate with u_skin
dofile(modpath.."/wardrobe.lua")
dofile(modpath.."/crafts.lua")

View File

@ -5,6 +5,11 @@ local wd_cbox = {
fixed = { -0.5, -0.5, -0.5, 0.5, 1.5, 0.5 }
}
--MFF crabman(30/07/2015) disabled wardrobe, duplicate with u_skin
minetest.register_alias("homedecor:wardrobe", "air")
--[[
homedecor.register("wardrobe", {
mesh = "homedecor_bedroom_wardrobe.obj",
tiles = {
@ -68,6 +73,6 @@ homedecor.register("wardrobe", {
end
end
})
--]]
minetest.register_alias("homedecor:wardrobe_bottom", "homedecor:wardrobe")
minetest.register_alias("homedecor:wardrobe_top", "air")