qbcore-framework / qb-shops

Shops For QB-Core
GNU General Public License v3.0
27 stars 215 forks source link

Some Bug Fixes #121

Closed r0adra93 closed 1 year ago

r0adra93 commented 1 year ago

The previous fix didn't fix the problem. I tested it with a few others on the server and we were able to duplicate the error continuously when users would log on. After several hours of testing, I believe this issue is resolved.

Added PlayerData = QBCore.Functions.GetPlayerData() to several event handlers that were missing it. Without it the shops would not load for players logging into the server.

Fixed a table that was malformed.

Describe Pull request First, make sure you've read and are following the contribution guidelines and style guide and your code reflects that. Write up a clear and concise description of what your pull request adds or fixes and if it's an added feature explain why you think it should be included in the core.

If your PR is to fix an issue mention that issue here

Questions (please complete the following information):

i-kulgu commented 1 year ago

Tested out and fixed the error : image