summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-10-24 12:49:07 +0200
committerNovatux <nathanael.courant@laposte.net>2013-10-24 12:49:07 +0200
commit2e2862576dccc861f347691cbcea91be3e99103c (patch)
tree678ed959457f6af5660142f84fdcd402645e18a5
parent2d4c5cf257aa01bee2dd361841f42fc2fad1af49 (diff)
downloadpipeworks-2e2862576dccc861f347691cbcea91be3e99103c.tar
pipeworks-2e2862576dccc861f347691cbcea91be3e99103c.tar.gz
pipeworks-2e2862576dccc861f347691cbcea91be3e99103c.tar.bz2
pipeworks-2e2862576dccc861f347691cbcea91be3e99103c.tar.xz
pipeworks-2e2862576dccc861f347691cbcea91be3e99103c.zip
Fix for player height
-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),