summaryrefslogtreecommitdiff
path: root/technic_worldgen
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2018-08-04 09:57:30 +0200
committerSmallJoker <mk939@ymail.com>2018-08-04 09:57:30 +0200
commit9b40d02fbd9e8c39c5c64cc7de89a7fe45382f04 (patch)
treea6ce1845d5a906fcf99619e1f144e0448c2d3c41 /technic_worldgen
parentd1b54a573c6287ea1d63b9c3f979c39058b1331a (diff)
Revert get_3d to deprecated get3d for 0.4.x compatibility
Diffstat (limited to 'technic_worldgen')
-rw-r--r--technic_worldgen/oregen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic_worldgen/oregen.lua b/technic_worldgen/oregen.lua
index fb7ac84..4fd41fd 100644
--- a/technic_worldgen/oregen.lua
+++ b/technic_worldgen/oregen.lua
@@ -167,7 +167,7 @@ minetest.register_on_generated(function(minp, maxp)
for z = minp.z + math.floor(grid_size / 2), maxp.z, grid_size do
local c = data[a:index(x, y, z)]
if (c == c_lava or c == c_lava_flowing)
- and sulfur_noise:get_3d({x = x, y = z, z = z}) >= 0.4 then
+ and sulfur_noise:get3d({x = x, y = z, z = z}) >= 0.4 then
for i in a:iter(
math.max(minp.x, x - grid_size),
math.max(minp.y, y - grid_size),