fix grade crafting

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

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 = "", ""