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):
Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes] (Be honest)
Does your code fit the style guidelines? [yes]
Does your PR fit the contribution guidelines? [yes]
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):