1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-12-27 03:00:24 +01:00

Fix some typos in tree names in the biome decoration defs

I think this fixes some tree types that were broken. I didn't notice any
poplar trees before this patch and I've seen a few since. I've been
looking for rubber trees and so far haven't found any but there might be
other issues or I may just be unlucky :)
This commit is contained in:
Micah Scott 2023-05-14 20:34:46 -07:00 committed by Buckaroo Banzai
parent b56e22fefd
commit b1fe8df038

View File

@ -170,8 +170,8 @@ if moretrees.enable_palm then
end end
if moretrees.enable_date_palm then if moretrees.enable_date_palm then
minetest.register_decoration(translate_biome_defs(moretrees.date_palm_biome, "palm", 1)) minetest.register_decoration(translate_biome_defs(moretrees.date_palm_biome, "date_palm", 1))
minetest.register_decoration(translate_biome_defs(moretrees.date_palm_biome_2, "palm", 2)) minetest.register_decoration(translate_biome_defs(moretrees.date_palm_biome_2, "date_palm", 2))
end end
if moretrees.enable_cedar then if moretrees.enable_cedar then
@ -179,7 +179,7 @@ if moretrees.enable_cedar then
end end
if moretrees.enable_rubber_tree then if moretrees.enable_rubber_tree then
minetest.register_decoration(translate_biome_defs(moretrees.rubber_tree_biome, "ruber")) minetest.register_decoration(translate_biome_defs(moretrees.rubber_tree_biome, "rubber_tree"))
end end
if moretrees.enable_willow then if moretrees.enable_willow then
@ -206,11 +206,11 @@ if moretrees.enable_fir then
end end
if moretrees.enable_poplar then if moretrees.enable_poplar then
minetest.register_decoration(translate_biome_defs(moretrees.poplar_biome, "popular", 1)) minetest.register_decoration(translate_biome_defs(moretrees.poplar_biome, "poplar", 1))
minetest.register_decoration(translate_biome_defs(moretrees.poplar_biome_2, "popular", 2)) minetest.register_decoration(translate_biome_defs(moretrees.poplar_biome_2, "poplar", 2))
minetest.register_decoration(translate_biome_defs(moretrees.poplar_biome_3, "popular", 3)) minetest.register_decoration(translate_biome_defs(moretrees.poplar_biome_3, "poplar", 3))
minetest.register_decoration(translate_biome_defs(moretrees.poplar_small_biome, "popular", 4)) minetest.register_decoration(translate_biome_defs(moretrees.poplar_small_biome, "poplar_small", 4))
minetest.register_decoration(translate_biome_defs(moretrees.poplar_small_biome_2, "popular", 5)) minetest.register_decoration(translate_biome_defs(moretrees.poplar_small_biome_2, "poplar_small", 5))
end end
--[[ --[[