Fix wooden chest formspec (#429)

This commit is contained in:
Vitaliy 2018-07-15 13:28:34 +03:00 committed by SmallJoker
parent 395089dfd8
commit 68fac3ed7b
1 changed files with 8 additions and 0 deletions

View File

@ -15,3 +15,11 @@ dofile(modpath.."/silver_chest.lua")
dofile(modpath.."/gold_chest.lua")
dofile(modpath.."/mithril_chest.lua")
minetest.register_lbm({
name = "technic_chests:fix_wooden_chests",
nodenames = {"default:chest"},
action = function(pos, node)
local meta = minetest.get_meta(pos)
meta:set_string("formspec", "")
end
})