mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-19 14:56:02 +01:00
fix: skip amount and job tables
This commit is contained in:
@@ -139,7 +139,8 @@ function makeItem(data)
|
||||
startTempCam(cam)
|
||||
|
||||
for i = 1, amount do
|
||||
for _, v in pairs(data.craft) do
|
||||
for k, v in pairs(data.craft) do
|
||||
if k ~= "amount" and k ~= "job" then
|
||||
if type(v) == "table" then
|
||||
for l, b in pairs(v) do
|
||||
if crafting and progressBar({
|
||||
@@ -177,6 +178,7 @@ function makeItem(data)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Wait(500)
|
||||
end
|
||||
stopTempCam()
|
||||
|
||||
Reference in New Issue
Block a user