Merge pull request #12 from oorzkws/patch-1
Gracefully fallback if iron-ore isn't found
This commit is contained in:
commit
f9b25089ee
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue