mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
Fix crafting allowing movement with progressBar
This commit is contained in:
@@ -434,6 +434,7 @@ function makeItem(origData)
|
||||
anim = "putdown_low",
|
||||
flag = 49,
|
||||
icon = k,
|
||||
disableMovement = true,
|
||||
}) then
|
||||
TriggerEvent((isStarted(QBInv) and QBInvNew and "qb-" or "")..'inventory:client:ItemBox', Items[k], "use", v)
|
||||
else
|
||||
@@ -455,6 +456,7 @@ function makeItem(origData)
|
||||
anim = anim,
|
||||
flag = 49,
|
||||
icon = data.item,
|
||||
disableMovement = true,
|
||||
request = true,
|
||||
}) then
|
||||
TriggerServerEvent(getScript()..":Crafting:GetItem", data.item, data.craft, data.stashName, metadata, currentToken)
|
||||
@@ -487,6 +489,7 @@ function makeItem(origData)
|
||||
anim = anim,
|
||||
flag = 49,
|
||||
icon = data.item,
|
||||
disableMovement = true,
|
||||
request = true,
|
||||
}) then
|
||||
data.craft.amount *= craftAmount
|
||||
|
||||
Reference in New Issue
Block a user