This commit is contained in:
Brevven 2022-12-04 01:04:22 -08:00
parent 4bbde08836
commit 41d2aab9b3
9 changed files with 278 additions and 12 deletions

View file

@ -1,4 +1,4 @@
if data.raw["map-gen-presets"] and data.raw["map-gen-presets"].default then
if data.raw["autoplace-control"]["salt"] and data.raw["map-gen-presets"] and data.raw["map-gen-presets"].default then
for name, preset in pairs(data.raw["map-gen-presets"].default) do
if type(preset) == "table" and
preset.basic_settings and