forked from mtcontrib/pipeworks
Support for detection of pipeworks fake players by other mods (item drop, etc.)
This commit is contained in:
parent
0444d738d7
commit
8b0c56ad08
@ -72,6 +72,7 @@ local function deployer_on(pos, node)
|
||||
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),
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user