fix grade crafting

This commit is contained in:
Jim Shield authored and GitHub committed 2024-01-17 21:05:38 +00:00
1 parent d693a99852
commit 6c38f90b9a
2 files changed
+12 -13

No files matched your search

+2 -1
View File
@@ -40,8 +40,9 @@ function craftingMenu(data) local hasjob = false
for k, v in pairs(Recipes[i]) do
if k ~= "amount" and k ~= "job" and k ~= "gang" then
if Recipes[i].job then hasjob = false
for l, b in pairs(data.craftable.Recipes[i]["job"]) do
for l, b in pairs(Recipes[i].job) do
hasjob = hasJob(l, nil, b)
if hasJob == true then break end
end
end
local setheader, settext = "", ""