summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic_chests/register.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/technic_chests/register.lua b/technic_chests/register.lua
index 14baa95..9d82431 100644
--- a/technic_chests/register.lua
+++ b/technic_chests/register.lua
@@ -228,7 +228,12 @@ function technic.chests:definition(name, data)
tube = self.tube,
legacy_facedir_simple = true,
sounds = default.node_sound_wood_defaults(),
- after_place_node = locked_after_place,
+ after_place_node = function(pos)
+ if locked_after_place then locked_after_place(pos, placer) end
+ pipeworks.after_place(pos)
+ end,
+ after_dig_node = pipeworks.after_dig,
+
on_construct = function(pos)
local meta = minetest.get_meta(pos)
meta:set_string("infotext", S("%s Chest"):format(name))