Fix for player height

This commit is contained in:
Novatux 2013-10-24 12:49:07 +02:00
parent 2d4c5cf257
commit 2e2862576d

View File

@ -153,7 +153,7 @@ deployer_on = function(pos, node)
get_player_name = delay("deployer"), get_player_name = delay("deployer"),
is_player = delay(true), is_player = delay(true),
set_inventory_formspec = delay(), 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_hp = delay(20),
get_inventory = delay(inv), get_inventory = delay(inv),
get_wielded_item = delay(stack), get_wielded_item = delay(stack),