Merge pull request #12 from oorzkws/patch-1

Gracefully fallback if iron-ore isn't found
This commit is contained in:
brevven 2022-06-05 02:12:10 -07:00 committed by GitHub
commit f9b25089ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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