minetest/builtin/game
Tim 58eb5f39d4 Builtin: Fix check for a player object in core.check_player_privs
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.
2016-07-26 04:15:06 +01:00
..
auth.lua Faster insertion into table 2016-03-06 23:42:04 +00:00
chatcommands.lua Builtin/profiler: Replace game profiler (#4245) 2016-07-12 21:51:10 +02:00
constants.lua Improve LuaVoxelManip documentation 2015-11-07 11:59:24 -05:00
deprecated.lua Refactor logging 2015-10-14 01:03:54 -04:00
detached_inventory.lua SAPI: Track last executed mod and include in error messages 2015-08-12 23:56:12 -04:00
falling.lua Add on_punchnode callback 2016-05-17 22:16:21 +10:00
features.lua Add AreaStore custom ID API 2016-03-07 16:33:20 -05:00
forceloading.lua Fix crash reported here: https://forum.minetest.net/viewtopic.php?f=6&t=9726 2014-07-13 11:05:07 +02:00
init.lua Builtin/profiler: Replace game profiler (#4245) 2016-07-12 21:51:10 +02:00
item.lua Builtin/game/item: Add `place_param2` nodedef field 2016-06-17 04:41:20 +01:00
item_entity.lua Item entities: Don't show description as infotext 2016-05-22 08:21:44 +01:00
misc.lua Builtin: Fix check for a player object in core.check_player_privs 2016-07-26 04:15:06 +01:00
privileges.lua protection_bypass priv can now be revoked in singleplayer (#4169) 2016-05-30 22:40:32 +10:00
register.lua Add minetest.register_lbm() to run code on block load only 2016-03-07 19:54:26 +01:00
statbars.lua Hud: Modify Y-positioning of health/breath starbars to prevent overlapping with Hotbar 2015-02-08 12:47:45 -05:00
static_spawn.lua Log static_spawn error only once 2015-11-21 00:13:28 +01:00
voxelarea.lua Improved VoxelArea variable locality, thus performance 2014-11-14 00:10:09 +10:00