Fix crash
This commit is contained in:
parent
d5f198e5e1
commit
30ba6e5385
1 changed files with 1 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ end
|
||||||
|
|
||||||
function ns.check_recipe(inv)
|
function ns.check_recipe(inv)
|
||||||
local plot = ns.recipes[ns.inv_to_string(inv)]
|
local plot = ns.recipes[ns.inv_to_string(inv)]
|
||||||
|
if not ns.plots[plot] then return false end
|
||||||
local recipe = ns.plots[plot].recipe
|
local recipe = ns.plots[plot].recipe
|
||||||
print(dump(recipe))
|
print(dump(recipe))
|
||||||
for i = 1, 9 do
|
for i = 1, 9 do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue