Use 'vm:write_to_map()' without incorrect 'data' argument
This commit is contained in:
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.
|
-- Calculate lighting for what has been created.
|
||||||
vm:calc_lighting()
|
vm:calc_lighting()
|
||||||
-- Write what has been created to the world.
|
-- 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.
|
-- Liquid nodes were placed so set them flowing.
|
||||||
vm:update_liquids()
|
vm:update_liquids()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user