mirror of
https://github.com/minetest/minetest.git
synced 2025-01-11 15:57:29 +01:00
58eb5f39d4
core.check_player_privs accepts as first argument a name or player object, but just tested for a string. This caused crashes inside builtin, when being passed any unexpected types. This provides a better (duck-typing like) test, better error reporting. |
||
---|---|---|
.. | ||
async | ||
common | ||
fstk | ||
game | ||
mainmenu | ||
profiler | ||
init.lua | ||
settingtypes.txt |