forked from VoxeLibre/VoxeLibre
Make cobblestone generators work on nether roof
This commit is contained in:
parent
0f64fb79c5
commit
8981ea07b8
|
@ -22,7 +22,7 @@ minetest.register_abm({
|
||||||
neighbors = {"group:water"},
|
neighbors = {"group:water"},
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min_y = mcl_vars.mg_end_min,
|
min_y = mcl_vars.mg_bedrock_nether_top_max,
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||||
local water = minetest.find_nodes_in_area({x=pos.x-1, y=pos.y-1, z=pos.z-1}, {x=pos.x+1, y=pos.y+1, z=pos.z+1}, "group:water")
|
local water = minetest.find_nodes_in_area({x=pos.x-1, y=pos.y-1, z=pos.z-1}, {x=pos.x+1, y=pos.y+1, z=pos.z+1}, "group:water")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue