add pack.assemble(...), app.config_packs(...)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local util = {}
|
||||
|
||||
function util.create_demo_world(generator)
|
||||
app.reconfig_packs({"base"}, {})
|
||||
app.config_packs({"base"})
|
||||
app.new_world("demo", "2019", generator or "core:default")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user