1
0
mirror of https://github.com/minetest/minetest.git synced 2024-09-22 04:20:18 +02:00
minetest/games
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
..
minimal Fix default item callbacks to work with nil users (#5819) 2017-10-28 10:30:50 +02:00