PICCORO Lenz McKAY cb4a21b561 second mod to implement in a subgame/game spawn management as rspawn
* use the taidkez rspawn that provides nice command and permission
* use a fix exhusted from https://codeberg.org/minenux/minetest-mod-rspawn
2022-02-12 19:05:12 -04:00

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