You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to use set_player_privs incrementally by doing just minetest.set_player_privs(name, {my_priv = true}) and expecting it to grant my_priv (whereas in reality it revokes all privs except for my_priv)
Attempting to use set_player_privs as if a boolean false value was treated as revoking a priv (whereas the privs are a set and thus this is treated as granting the priv): privs.my_priv = false; minetest.set_player_privs(name, privs)
@rollerozxa is being assigned for heretic variable naming inherited from a poorly written Sudoku game.
The text was updated successfully, but these errors were encountered:
Both of these warrant a DANGER admonition:
set_player_privs
incrementally by doing justminetest.set_player_privs(name, {my_priv = true})
and expecting it to grantmy_priv
(whereas in reality it revokes all privs except formy_priv
)set_player_privs
as if a booleanfalse
value was treated as revoking a priv (whereas the privs are a set and thus this is treated as granting the priv):privs.my_priv = false; minetest.set_player_privs(name, privs)
@rollerozxa is being assigned for heretic variable naming inherited from a poorly written Sudoku game.
The text was updated successfully, but these errors were encountered: