VORPCORE / vorp_character-lua

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

fix: stop age from allowing text #106

Closed RealStonerGamer closed 8 months ago

RealStonerGamer 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

if someone types letters in Age and not numbers it will error out saving to the DB and not save the character

image

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

changing input type to number from text will stop being able to add letters and erroring out on the DB

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

outsider31000 commented 8 months ago

ha yes forgot to change the type .