Fix player attachment offsets

This commit is contained in:
Wuzzy 2019-03-06 05:11:49 +01:00
parent 4f8377b161
commit a9776814a6
5 changed files with 5 additions and 5 deletions

View file

@ -82,7 +82,7 @@ function boat.on_rightclick(self, clicker)
end
self._driver = clicker
clicker:set_attach(self.object, "",
{x = 0, y = 3.75, z = -1}, {x = 0, y = 0, z = 0})
{x = 0, y = 0.42, z = -1}, {x = 0, y = 0, z = 0})
clicker:set_properties({ visual_size = driver_visual_size })
mcl_player.player_attached[name] = true
minetest.after(0.2, function(name)