summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-02-07 02:51:06 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2015-02-07 02:51:06 -0500
commitce12c83306cfaa8e667a289f8c0c79f0e4a2e0ef (patch)
treefbc6640a1bd99820de759ed31e7de8114041e06b
parent364633d884fa2420ab13f5444e06fb418e61d5c2 (diff)
downloadpipeworks-ce12c83306cfaa8e667a289f8c0c79f0e4a2e0ef.tar
pipeworks-ce12c83306cfaa8e667a289f8c0c79f0e4a2e0ef.tar.gz
pipeworks-ce12c83306cfaa8e667a289f8c0c79f0e4a2e0ef.tar.bz2
pipeworks-ce12c83306cfaa8e667a289f8c0c79f0e4a2e0ef.tar.xz
pipeworks-ce12c83306cfaa8e667a289f8c0c79f0e4a2e0ef.zip
fix filters also
-rw-r--r--filter-injector.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter-injector.lua b/filter-injector.lua
index 14e23a8..20a9d44 100644
--- a/filter-injector.lua
+++ b/filter-injector.lua
@@ -177,7 +177,9 @@ for _, data in ipairs({
end,
after_place_node = function (pos, placer)
minetest.get_meta(pos):set_string("owner", placer:get_player_name())
+ pipeworks.after_place(pos)
end,
+ after_dig_node = pipeworks.after_dig,
on_receive_fields = function(pos, formname, fields, sender)
fs_helpers.on_receive_fields(pos, fields)
local meta = minetest.get_meta(pos)