qbcore-framework / qb-core

FiveM RP Framework Core :muscle:
GNU General Public License v3.0
594 stars 960 forks source link

[BUG] useable item #1148

Open Psycho66626 opened 6 days ago

Psycho66626 commented 6 days ago

Summary

fix 9fbab7a

Reproduction

function QBCore.Functions.CreateUseableItem(item, data)

465 - #485 is incorrect, you can't eat any food, reverse back to QBCore.UsableItems[item] = data

Expected behavior

Do not use items any more

Actual behavior

fix 9fbab7a is incorrect in server. function.lua

Additional context

No response

Last Updated

today

Custom Resources

qb-core/server/function.lua/465

Resource Rename

qb-core

Psycho66626 commented 4 days ago

also reverse back qb-core / server / function lua function QBCore.Functions.CreateUseableItem(item, data) undo 13 nov