summaryrefslogtreecommitdiff
path: root/node_breaker.lua
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2014-06-08 16:04:36 +0200
committerNovatux <nathanael.courant@laposte.net>2014-06-08 16:04:36 +0200
commit8b0c56ad0826874107dbc83be8fc156fe4703b6e (patch)
tree7ac8cae9b1d60f2ec495615fcd631c6b02d55b4b /node_breaker.lua
parent0444d738d73c84b3f78d121f625b663fdf26dc20 (diff)
Support for detection of pipeworks fake players by other mods (item drop, etc.)
Diffstat (limited to 'node_breaker.lua')
-rw-r--r--node_breaker.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_breaker.lua b/node_breaker.lua
index b9267f4..b6eb8ac 100644
--- a/node_breaker.lua
+++ b/node_breaker.lua
@@ -133,6 +133,7 @@ local function break_node (pos, facedir)
get_player_control_bits = delay(0),
get_player_name = delay(meta:get_string("owner")),
is_player = delay(true),
+ is_fake_player = true,
set_inventory_formspec = delay(),
getpos = delay({x = pos.x, y = pos.y - 1.5, z = pos.z}), -- Player height
get_hp = delay(20),