summaryrefslogtreecommitdiff
path: root/technic_chests/init.lua
diff options
context:
space:
mode:
authorVitaliy <silverunicorn2011@yandex.ru>2018-07-15 13:28:34 +0300
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-07-15 12:28:34 +0200
commit68fac3ed7b28d05d71f26a8dcd1be49ba376afaf (patch)
tree5db9e112d1e4761087690a40d79c16a0abe84246 /technic_chests/init.lua
parent395089dfd83a797ef408a28a8087276b8845bd3d (diff)
Fix wooden chest formspec (#429)
Diffstat (limited to 'technic_chests/init.lua')
-rw-r--r--technic_chests/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/technic_chests/init.lua b/technic_chests/init.lua
index 3565987..6b1a1b2 100644
--- a/technic_chests/init.lua
+++ b/technic_chests/init.lua
@@ -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
+})