summaryrefslogtreecommitdiff
path: root/deployer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'deployer.lua')
-rw-r--r--deployer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/deployer.lua b/deployer.lua
index ae012b5..277ab53 100644
--- a/deployer.lua
+++ b/deployer.lua
@@ -153,7 +153,7 @@ deployer_on = function(pos, node)
get_player_name = delay("deployer"),
is_player = delay(true),
set_inventory_formspec = delay(),
- getpos = delay(pos),
+ getpos = delay({x = pos.x, y = pos.y - 1.5, z = pos.z}), -- Player height
get_hp = delay(20),
get_inventory = delay(inv),
get_wielded_item = delay(stack),