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

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
})