mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 12:31:05 +01:00
Place boats in the placer direction
This commit is contained in:
parent
294be0f302
commit
f0b732d7e0
1 changed files with 1 additions and 0 deletions
|
@ -302,6 +302,7 @@ for b=1, #boat_ids do
|
|||
local boat = minetest.add_entity(pointed_thing.under, "mcl_boats:boat")
|
||||
boat:get_luaentity()._itemstring = itemstring
|
||||
boat:set_properties({textures = { "mcl_boats_texture_"..images[b].."_boat.png" }})
|
||||
boat:set_yaw(placer:get_look_horizontal())
|
||||
if not minetest.settings:get_bool("creative_mode") then
|
||||
itemstack:take_item()
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue