mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
c32847838d
The callback can now be invoked with either the player object or name as the first parameter, and with either a table or a list of strings, like this: minetest.check_player_privs(player_name, { shout = true, fly = true }) minetest.check_player_privs(player_name, "shout", "fly") minetest.check_player_privs(player, { shout = true, fly = true }) minetest.check_player_privs(player, "shout", "fly") |
||
---|---|---|
.. | ||
async | ||
common | ||
fstk | ||
game | ||
mainmenu | ||
init.lua | ||
settingtypes.txt |