Skip to content

Conversation

@feelfreetofee
Copy link

Safe Table Navigation from Lua Power Patches its not only broken, it also breaks the linter. Avoid using it.
I would also stop defining variables the following way:

local a, b = nil

Even if the variable b is nil too, VS does not like it and so do I

Safe Table Navigation from Lua Power Patches does not only breaks the linter, its also broken itself.  Avoid using it

Signed-off-by: Sergio <89666307+feelfreetofee@users.noreply.github.com>
Signed-off-by: Sergio <89666307+feelfreetofee@users.noreply.github.com>
@Ehbw
Copy link

Ehbw commented Dec 22, 2025

Safe Table Navigation from Lua Power Patches its not only broken, it also breaks the linter. Avoid using it.

Not when you made this PR, it was fixed in May/June 2025 with citizenfx/fivem@a2a71bd and a follow up fix for backwards compatibility with citizenfx/fivem@75f107c. It is perfectly fine to use Safe Navigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants