Skip to content

A Bug and a fix #17

@MaDHouSe79

Description

@MaDHouSe79

change this local currentXP = PlayerData.metadata[xpType] to local currentXP = PlayerData.metadata[xpType] or 0

cause if you don't have xp it returns nil and you get an error.

Error is : SCRIPT ERROR: @qb-crafting/client.lua:108: attempt to compare number with nil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions