PICCORO Lenz McKAY
cb4a21b561
* use the taidkez rspawn that provides nice command and permission * use a fix exhusted from https://codeberg.org/minenux/minetest-mod-rspawn
21 lines
411 B
Lua
21 lines
411 B
Lua
function rspawn:d(stuff)
|
|
-- Quick debugging
|
|
minetest.debug(dump(stuff))
|
|
end
|
|
|
|
function rspawn:debug(message, data)
|
|
-- Debugging from setting
|
|
if not rspawn.debug_on then
|
|
return
|
|
end
|
|
|
|
local debug_data = ""
|
|
|
|
if data ~= nil then
|
|
debug_data = " :: "..dump(data)
|
|
end
|
|
local debug_string = "[rspawn] DEBUG : "..message..debug_data
|
|
|
|
minetest.debug(debug_string)
|
|
end
|