mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 03:01:31 +00:00
e7d58e3166
Money, inventory and weapon mutators on the player class now return a boolean (true on success, false on failure) instead of returning nothing. Failure paths that previously threw via error() now warn and return false, so these methods never throw and always return a boolean. The change is additive; callers that ignore the return value are unaffected. The xPlayer type definitions are updated to match.