mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-18 14:26:03 +01:00
fix grade crafting
This commit is contained in:
@@ -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 = "", ""
|
||||
|
||||
Reference in New Issue
Block a user