minetest/builtin
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
..
async Use "core" namespace internally 2014-05-08 13:02:04 -04:00
client [CSM] Add send_chat_message and run_server_chatcommand API functions (#5747) 2017-05-21 23:06:51 +02:00
common Set placer to nil instead of a non-functional one in item_OnPlace (#6449) 2018-06-03 17:31:59 +02:00
fstk Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
game Fix default item callbacks to work with nil users (#5819) 2018-06-03 17:32:00 +02:00
mainmenu Fix core.wrap_text and make its behaviour consistent with the docs 2018-06-03 17:31:59 +02:00
profiler Profiler: Fix var args not being passed to callback register function 2018-06-03 17:31:59 +02:00
init.lua Use a settings object for the main settings 2017-05-06 15:33:19 -04:00
settingtypes.txt Add setting for near plane distance. (#6395) 2018-06-03 17:31:59 +02:00