This commit is contained in:
Juraj Vajda 2024-02-10 16:22:40 -05:00
parent 70a9617c8e
commit fe990f4bcc
3 changed files with 2 additions and 4 deletions

View File

@ -58,7 +58,7 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
--
-- after_set_data
--
-- can read (but cant and should not manipulate) voxelmanip `data`
-- read-only (but cant and should not manipulate) voxelmanip `data`
-- used for `place_schematic_on_vmanip` which will invalidate `data`
-- therefore we are doing it after we set the data
for _, def in ipairs(Everness.on_generated_queue) do
@ -84,7 +84,6 @@ minetest.register_on_generated(function(minp, maxp, blockseed)
-- Used for direct manipulation of the world chunk nodes where the
-- definitions of nodes are available and node callback can be executed
-- or e.g. for `minetest.fix_light`
for _, def in ipairs(Everness.on_generated_queue) do
if def.can_run(biomemap) and def.after_write_to_map then
shared_args[def.name] = shared_args[def.name] or {}

View File

@ -364,7 +364,7 @@ Everness:add_to_queue_on_generated({
'place_center_x, place_center_z'
)
minetest.log('action', '[Everness] Willow Tree was placed at ' .. pos:to_string())
-- minetest.log('action', '[Everness] Willow Tree was placed at ' .. pos:to_string())
end
end
end

View File

@ -308,7 +308,6 @@ minetest.set_gen_notify({ decoration = true }, {
d_rose_bush
})
-- Called after generating a piece of world. Modifying nodes inside the area is a bit faster than usual.
Everness:add_to_queue_on_generated({
name = 'everness:mineral_waters',
can_run = function(biomemap)