From 2bf04f69cf8bf51f8b210745e60866182a553ba0 Mon Sep 17 00:00:00 2001 From: Solareon <769465+solareon@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:50:03 -0700 Subject: [PATCH] fix: hasjob Fixes broken crafting because the wrapper function is called hasJob with a capital J while the variable is called hasjob --- crafting.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crafting.lua b/crafting.lua index 0b9c381..34f229f 100644 --- a/crafting.lua +++ b/crafting.lua @@ -43,7 +43,7 @@ function craftingMenu(data) local hasjob = false if Recipes[i].job then hasjob = false for l, b in pairs(Recipes[i].job) do hasjob = hasJob(l, nil, b) - if hasJob == true then break end + if hasjob == true then break end end end local setheader, settext = "", "" @@ -434,4 +434,4 @@ function stashhasItem(stashItems, items, amount) end for k, v in pairs(hasTable) do if v.hasItem == false then return false, hasTable end end return true, hasTable -end \ No newline at end of file +end