mirror of
https://github.com/minetest/minetest.git
synced 2024-12-25 07:32:24 +01:00
Redirect Lua print to minetest.debug
This commit is contained in:
parent
3da05a09b5
commit
54eca4e736
@ -5,6 +5,16 @@
|
|||||||
-- before loading and running any mods.
|
-- before loading and running any mods.
|
||||||
--
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Override some Lua library functions
|
||||||
|
--
|
||||||
|
|
||||||
|
print = minetest.debug
|
||||||
|
|
||||||
|
--
|
||||||
|
--
|
||||||
|
--
|
||||||
|
|
||||||
function basic_dump2(o)
|
function basic_dump2(o)
|
||||||
if type(o) == "number" then
|
if type(o) == "number" then
|
||||||
return tostring(o)
|
return tostring(o)
|
||||||
|
Loading…
Reference in New Issue
Block a user