From 3d08b568ad1da1e3259a66cb91fd1039781c75cb Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Tue, 26 Sep 2017 00:11:57 -0400 Subject: update castles modpack, boost_cart, homedecor, currency, farming redo, framed glass, gloopblocks, mesecons, moreblocks, pipeworks, signs_lib, technic, unified mesecons, and worldedit created a new tag for this release (this will be standard procedure from now on) --- boost_cart/functions.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boost_cart/functions.lua') diff --git a/boost_cart/functions.lua b/boost_cart/functions.lua index 1332578..86f8535 100644 --- a/boost_cart/functions.lua +++ b/boost_cart/functions.lua @@ -18,7 +18,9 @@ function boost_cart:manage_attachment(player, obj) default.player_attached[player_name] = status if status then - player:set_attach(obj, "", {x=0, y=6, z=0}, {x=0, y=0, z=0}) + -- player_api came after the new model. Check for it. + local y_pos = player_api and -4.5 or 6 + player:set_attach(obj, "", {x=0, y=y_pos, z=0}, {x=0, y=0, z=0}) player:set_eye_offset({x=0, y=-4, z=0},{x=0, y=-4, z=0}) else player:set_detach() -- cgit v1.2.3