minetest/builtin
Diego Martinez 430195381d builtin: Fix `print` crashing on nil "holes".
The engine implementation of `print` packs the varargs into a
table and passes the table directly to `table.concat`. If you
pass any value not supported by `table.concat` (particularly
`nil`), the server crashes. This is unexpected behavior, as
`print` is supposed to be able to work with anything.

This patch changes the implementation so it first converts
all arguments using `tostring`, which fixes the issue and
makes the custom `print` function compatible with the stock
Lua behavior.
2016-02-08 01:55:02 +01:00
..
async Use "core" namespace internally 2014-05-08 13:02:04 -04:00
common Refactor logging 2015-10-14 01:03:54 -04:00
fstk Refactor logging 2015-10-14 01:03:54 -04:00
game Add admin command which says who the administator is for the server. 2016-02-04 13:23:02 +01:00
mainmenu Fix world config menu ignoring `name` in `mod.conf`. 2016-01-23 21:14:14 -05:00
init.lua builtin: Fix `print` crashing on nil "holes". 2016-02-08 01:55:02 +01:00
settingtypes.txt Use meshes to display inventory items 2016-02-07 19:51:55 +01:00