From f0b732d7e0f66bd52d3f8c27803fc693aa604d3a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 9 May 2018 18:43:07 +0200 Subject: [PATCH] Place boats in the placer direction --- mods/ENTITIES/mcl_boats/init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ENTITIES/mcl_boats/init.lua b/mods/ENTITIES/mcl_boats/init.lua index b4138ee816..fb5e19ae45 100644 --- a/mods/ENTITIES/mcl_boats/init.lua +++ b/mods/ENTITIES/mcl_boats/init.lua @@ -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