VORPCORE / vorp_character-lua

character creation for RedM Vorp core framework
GNU General Public License v2.0
11 stars 47 forks source link

UpdateCache #102

Closed XakraD closed 8 months ago

XakraD commented 8 months ago

Pull request template

[!IMPORTANT] Please complete all fields. PRs will not be merged if any fields are incomplete. Be respectful, and keep in mind that it may take some time for your PR to be reviewed.

Bear in mind refactors are up to the developers and not it's contributors after all we are the ones giving support when needed. if they are big changes I suggest you to release it under your name instead.

Type of change

Motive for This Pull Request

While updating xakra_outfits so that vorp_character tints can be used, I realized that it was not possible to update the tints in the cache (vorpcharacter:updateCache event), it was only applied when relogging.

Provide a brief explanation of why these changes are being proposed and what they aim to achieve.

This UpdateCache update will allow you to use the list of old or new clothes with tints.

Explain the necessity of these changes and how they will impact the framework or its users.

explanation field

Please describe the tests you have conducted to verify your changes. Provide instructions so we can reproduce these tests. Also, list any relevant details for your test configuration.

Notes if any

explanation field