1
0
mirror of https://github.com/minetest/minetest.git synced 2024-11-16 23:40:27 +01:00
minetest/games/minimal/mods
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
..
bucket Compress textures 2013-06-18 19:48:04 +00:00
default Fix default item callbacks to work with nil users (#5819) 2018-06-03 17:32:00 +02:00
experimental Private nodemeta (#5702) 2017-05-10 15:29:21 +02:00
give_initial_stuff place_node, dig_node and punch_node; an in-game tester tool; remove old code 2012-06-05 23:10:07 +03:00
legacy Compress textures 2013-06-18 19:48:04 +00:00
stairs Minimal game: Use field 'tiles' instead of 'tile_images' 2016-12-24 00:33:07 +00:00
test Add PseudoRandom in Lua API 2012-03-28 00:38:20 +03:00