From 4c9e8e6bf06b09b3a015bd7d76ea2a8966e0336f Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Wed, 5 Apr 2017 00:23:23 -0400 Subject: update areasprotector mod, pipeworks, technic --- pipeworks/filter-injector.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pipeworks/filter-injector.lua') diff --git a/pipeworks/filter-injector.lua b/pipeworks/filter-injector.lua index 72f7bad..0d22675 100644 --- a/pipeworks/filter-injector.lua +++ b/pipeworks/filter-injector.lua @@ -1,3 +1,5 @@ +local fs_helpers = pipeworks.fs_helpers + local function delay(x) return (function() return x end) end @@ -169,7 +171,7 @@ local function punch_filter(data, filtpos, filtnode, msg) is_fake_player = ":pipeworks", get_wielded_item = delay(ItemStack(nil)) } -- TODO: use a mechanism as the wielder one - local dir = minetest.facedir_to_right_dir(filtnode.param2) + local dir = pipeworks.facedir_to_right_dir(filtnode.param2) local frompos = vector.subtract(filtpos, dir) local fromnode = minetest.get_node(frompos) if not fromnode then return end -- cgit v1.2.3