qbcore-framework / qb-smallresources

A compilation of small resources combined into one
GNU General Public License v3.0
50 stars 347 forks source link

[BUG] - SCRIPT ERROR: @qb-smallresources/server/entities.lua:6: attempt to index a nil value (global 'Config') #447

Closed ChlxeThomson closed 9 months ago

ChlxeThomson commented 9 months ago

Describe the bug As the title says, i have no idea how to fix it as i am still learning to code with Lua. I haven't edited anything, all i have done is added scripts from Apex Studios and configured them to use QB things with the recent changes, i have correctly added the items from them into the QB-Core/Shared/Items.Lua, the consumables stuff into QB-Smallresources cause they are scripts for food restaurants

Questions (please complete the following information):

Additional context If someone could help me that would be great, thanks

Screenshots

Screenshot 2024-01-06 060205 Screenshot 2024-01-06 060234
kaynegraham commented 9 months ago

try and reinstall the resource.

ChlxeThomson commented 9 months ago

try and reinstall the resource.

Fixed it thank you for the heads up