diff --git a/create_catalog.lua b/create_catalog.lua index 5cff333..8267068 100644 --- a/create_catalog.lua +++ b/create_catalog.lua @@ -25,7 +25,7 @@ function mapblock_lib.create_catalog(filename, pos1, pos2, options) -- default to async serialization options = options or {} - options.delay = options.delay or 0.2 + options.delay = options.delay or 0.1 options.callback = options.callback or function() end options.progress_callback = options.progress_callback or function() end diff --git a/get_catalog.lua b/get_catalog.lua index 224b713..81d41fb 100644 --- a/get_catalog.lua +++ b/get_catalog.lua @@ -136,7 +136,7 @@ function Catalog:deserialize_all(target_mapblock_pos, options) local count = 0 options = options or {} - options.delay = options.delay or 0.2 + options.delay = options.delay or 0.1 options.rotate_y = options.rotate_y or 0 options.callback = options.callback or function() end options.progress_callback = options.progress_callback or function() end diff --git a/readme.md b/readme.md index 6245300..e237627 100644 --- a/readme.md +++ b/readme.md @@ -64,7 +64,7 @@ local mb_pos1 = { x=0, y=0, z=0 } local mb_pos2 = { x=1, y=1, z=1 } local options = { -- optional: delay between operations - delay = 0.2, + delay = 0.1, -- optional: called when done callback = function() print("done!")