diff options
Diffstat (limited to 'mapgen_v7s.lua')
-rw-r--r-- | mapgen_v7s.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mapgen_v7s.lua b/mapgen_v7s.lua index 0453487..bd0e722 100644 --- a/mapgen_v7s.lua +++ b/mapgen_v7s.lua @@ -574,8 +574,7 @@ minetest.register_on_generated(function(minp, maxp, seed) local z = pr:next(z0, z1)
if minetest.get_node({x=x,y=1,z=z}).name == "default:sand" and
minetest.find_node_near({x=x,y=1,z=z}, 1, "default:water_source") then
- schematic = path.."palmtree.mts"
- minetest.place_schematic({x=x-4,y=2,z=z-4}, schematic, 0, '', 0)
+ minetest.place_schematic({x=x-4,y=2,z=z-4}, path.."palmtree.mts", 0, '', 0)
end
end
end
|