qbcore-framework / qb-smallresources

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

Fix entities not being removed #357

Closed papabendi closed 1 year ago

papabendi commented 1 year ago

This fixes the issue of entities not removing, it is because the event is calling GetHashKey on the Hash Key it has already obtained. Tested and working on my test server.

Reference to #352 and #312

Questions (please complete the following information):

Have you personally loaded this code into an updated qbcore project and checked all it's functionality? [yes/no] (Be honest)
YES

Does your code fit the style guidelines? [yes/no]
YES

Does your PR fit the contribution guidelines? [yes/no]
YES
DuoTheDev commented 1 year ago

Tested. LGTM.