forked from minetest-mods/technic
Fix wooden chest formspec (#429)
This commit is contained in:
parent
395089dfd8
commit
68fac3ed7b
|
@ -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
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user