minetest/builtin/game
raymoo 7b8288d605 Fix default item callbacks to work with nil users (#5819)
* Fix default item callbacks to work with nil users

* item.lua: Handle node drops for invalid players

The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used.
Remove redundant `local _, dropped_item`
2018-06-03 17:32:00 +02:00
..
auth.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
chatcommands.lua Fix default item callbacks to work with nil users (#5819) 2018-06-03 17:32:00 +02:00
constants.lua Register.lua: Throw error if node 'light_source' > core.LIGHT_MAX 2016-09-17 09:33:25 +01:00
deprecated.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
detached_inventory.lua Allow restricting detached inventories to one player 2016-11-28 13:41:19 +01:00
falling.lua Automatic item and node colorization (#5640) 2018-06-03 17:31:59 +02:00
features.lua Remove client-side chat prediction. (#5055) 2017-01-17 00:09:47 +01:00
forceloading.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
init.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
item_entity.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
item.lua Fix default item callbacks to work with nil users (#5819) 2018-06-03 17:32:00 +02:00
misc.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
privileges.lua Privileges: Only give singleplayer 4 basic privs 2016-11-07 21:55:17 +00:00
register.lua Add textures for air and ignore items (#5196) 2017-02-10 08:19:31 +01:00
statbars.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
static_spawn.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
voxelarea.lua VoxelArea: faster iter function (#4490) 2016-10-08 22:42:17 +10:00