Use 'vm:write_to_map()' without incorrect 'data' argument
parent
68d547e006
commit
40fd390c32
2
init.lua
2
init.lua
|
@ -125,7 +125,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
-- Calculate lighting for what has been created.
|
||||
vm:calc_lighting()
|
||||
-- Write what has been created to the world.
|
||||
vm:write_to_map(data)
|
||||
vm:write_to_map()
|
||||
-- Liquid nodes were placed so set them flowing.
|
||||
vm:update_liquids()
|
||||
|
||||
|
|
Loading…
Reference in New Issue