py compat
This commit is contained in:
parent
622453e922
commit
0fd8833a2d
3 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
if (not mods["pyrawores"] and not mods["bobplates"] and not mods["angelssmelting"]) then
|
||||
if 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
|
||||
|
|
@ -8,3 +9,4 @@ if data.raw["map-gen-presets"] and data.raw["map-gen-presets"].default then
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue