From fca10f613d2eb30901ce347eb45cd59aafb5d4b0 Mon Sep 17 00:00:00 2001
From: Sokomine <wegwerf@anarres.dyndns.org>
Date: Sat, 10 Oct 2015 05:44:42 +0200
Subject: added is_fake_player entry to the fake player table passed on to
 allow_metadata_* functions

---
 filter-injector.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/filter-injector.lua b/filter-injector.lua
index 620b7b3..bcfcbc9 100644
--- a/filter-injector.lua
+++ b/filter-injector.lua
@@ -109,6 +109,7 @@ local function punch_filter(data, filtpos, filtnode)
 	local owner = filtmeta:get_string("owner")
 	local fakePlayer = {
 		get_player_name = delay(owner),
+		is_fake_player = ":pipeworks",
 	} -- TODO: use a mechanism as the wielder one
 	local dir = minetest.facedir_to_right_dir(filtnode.param2)
 	local frompos = vector.subtract(filtpos, dir)
-- 
cgit v1.2.3