mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-12-01 14:54:47 +00:00
fix: hasjob
Fixes broken crafting because the wrapper function is called hasJob with a capital J while the variable is called hasjob
This commit is contained in:
1 parent
3e067c8492
commit
2bf04f69cf
1 file changed
+2
-2
+2
-2
@@ -43,7 +43,7 @@ function craftingMenu(data) local hasjob = false
|
|||||||
if Recipes[i].job then hasjob = false
|
if Recipes[i].job then hasjob = false
|
||||||
for l, b in pairs(Recipes[i].job) do
|
for l, b in pairs(Recipes[i].job) do
|
||||||
hasjob = hasJob(l, nil, b)
|
hasjob = hasJob(l, nil, b)
|
||||||
if hasJob == true then break end
|
if hasjob == true then break end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
local setheader, settext = "", ""
|
local setheader, settext = "", ""
|
||||||
@@ -434,4 +434,4 @@ function stashhasItem(stashItems, items, amount)
|
|||||||
end
|
end
|
||||||
for k, v in pairs(hasTable) do if v.hasItem == false then return false, hasTable end end
|
for k, v in pairs(hasTable) do if v.hasItem == false then return false, hasTable end end
|
||||||
return true, hasTable
|
return true, hasTable
|
||||||
end
|
end
|
||||||
Reference in new issue
Block a user