diff options
-rw-r--r-- | deployer.lua | 1 | ||||
-rw-r--r-- | node_breaker.lua | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/deployer.lua b/deployer.lua index d0ef9f6..360a0c5 100644 --- a/deployer.lua +++ b/deployer.lua @@ -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), 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), |