parent
36925bfbae
commit
a347081ffd
@ -71,7 +71,7 @@ minetest.register_abm({
|
||||
local data = vm:get_data()
|
||||
add_savannatree(data, a, pos.x, pos.y, pos.z, minp, maxp, PseudoRandom(math.random(1,100000)))
|
||||
vm:set_data(data)
|
||||
vm:write_to_map(data)
|
||||
vm:write_to_map()
|
||||
vm:update_map()
|
||||
end
|
||||
})
|
||||
@ -160,7 +160,7 @@ minetest.register_abm({
|
||||
local data = vm:get_data()
|
||||
add_pinetree(data, a, pos.x, pos.y, pos.z, minp, maxp, PseudoRandom(math.random(1,100000)), c_air)
|
||||
vm:set_data(data)
|
||||
vm:write_to_map(data)
|
||||
vm:write_to_map()
|
||||
vm:update_map()
|
||||
end
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user