forked from minetest/minetest_game
Default: Fix rotation errors for mapgen aspen and sapling jungletree
This commit is contained in:
parent
ffba9d978e
commit
0d3bca790c
|
@ -1204,7 +1204,6 @@ function default.register_decorations()
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
schematic = minetest.get_modpath("default").."/schematics/aspen_tree.mts",
|
schematic = minetest.get_modpath("default").."/schematics/aspen_tree.mts",
|
||||||
flags = "place_center_x, place_center_z",
|
flags = "place_center_x, place_center_z",
|
||||||
rotation = "random",
|
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
|
|
|
@ -403,7 +403,7 @@ function default.grow_new_jungle_tree(pos)
|
||||||
local path = minetest.get_modpath("default") ..
|
local path = minetest.get_modpath("default") ..
|
||||||
"/schematics/jungle_tree_from_sapling.mts"
|
"/schematics/jungle_tree_from_sapling.mts"
|
||||||
minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2},
|
minetest.place_schematic({x = pos.x - 2, y = pos.y - 1, z = pos.z - 2},
|
||||||
path, "0", nil, false)
|
path, "random", nil, false)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user