Gracefully fallback if iron-ore isn't found
Fixes startup issue with some mod combos plus omnimatter
This commit is contained in:
parent
0ad0ce0268
commit
c6fb7c2f76
1 changed files with 1 additions and 1 deletions
2
omni.lua
2
omni.lua
|
|
@ -1,3 +1,3 @@
|
||||||
if omni and omni.matter then
|
if omni and omni.matter then
|
||||||
omni.matter.add_resource("zircon", omni.matter.get_ore_tier("iron-ore"))
|
omni.matter.add_resource("zircon", omni.matter.get_ore_tier("iron-ore") or 1)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue