Default: Fix rotation errors for mapgen aspen and sapling jungletree
authorparamat <mat.gregory@virginmedia.com>
Mon, 21 Mar 2016 08:03:52 +0000 (08:03 +0000)
committerparamat <mat.gregory@virginmedia.com>
Tue, 22 Mar 2016 15:46:00 +0000 (15:46 +0000)
mods/default/mapgen.lua
mods/default/trees.lua

index 3424a557b0ccd8deb1482b3a50871fe9d4a5fd44..4b61518e3efeb9fc73b49d9b0336bdfd631334f1 100644 (file)
@@ -1204,7 +1204,6 @@ function default.register_decorations()
                y_max = 31000,
                schematic = minetest.get_modpath("default").."/schematics/aspen_tree.mts",
                flags = "place_center_x, place_center_z",
-               rotation = "random",
        })
 
        minetest.register_decoration({
index c93fdabcc69917cf6e39dd2ee4d5ad8bc314fba6..de2452e4190a61408fc2805337b884e415c4f59d 100644 (file)
@@ -403,7 +403,7 @@ function default.grow_new_jungle_tree(pos)
        local path = minetest.get_modpath("default") ..
                "/schematics/jungle_tree_from_sapling.mts"
        minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2},
-               path, "0", nil, false)
+               path, "random", nil, false)
 end