minetest/builtin/game
raymoo a5d5728f24 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`
2017-10-28 10:30:50 +02:00
..
auth.lua Do not grant all privs to the admin - changes game behavior (#6460) 2017-10-07 15:12:09 +02:00
chatcommands.lua Fix default item callbacks to work with nil users (#5819) 2017-10-28 10:30:50 +02:00
constants.lua Customizeable max breath for players (#6411) 2017-09-15 12:18:47 +02: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 Remove nodeupdate and nodeupdate_single 2017-08-30 19:39:10 +01: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 Create a filesystem abstraction layer for CSM and only allow accessing files that are scanned into it. (#5965) 2017-06-30 20:14:39 +02:00
item_entity.lua Fix dropped item look (#6370) 2017-09-11 08:20:06 +02:00
item.lua Fix default item callbacks to work with nil users (#5819) 2017-10-28 10:30:50 +02:00
misc.lua Allow the join/leave message to be overridden by mods. 2017-09-11 20:54:07 +02:00
privileges.lua Do not grant all privs to the admin - changes game behavior (#6460) 2017-10-07 15:12:09 +02:00
register.lua Implement mod communication channels (#6351) 2017-09-26 00:11:20 +02:00
statbars.lua Customizeable max breath for players (#6411) 2017-09-15 12:18:47 +02:00
static_spawn.lua Abort if static_spawnpoint is an invalid setting instead of just giving an error log 2017-08-12 19:37:53 +01:00
voxelarea.lua VoxelArea: faster iter function (#4490) 2016-10-08 22:42:17 +10:00