Merge remote-tracking branch 'upstream/master'

This commit is contained in:
2020-08-02 14:07:44 +02:00
3 changed files with 30 additions and 9 deletions

View File

@ -100,7 +100,7 @@ function nether.debug(message, ...)
end
end
local composed_message = string.format(message, unpack(args))
local composed_message = "nether: " .. string.format(message, unpack(args))
if math.floor(DEBUG_FLAGS / 1) % 2 == 1 then print(composed_message) end
if math.floor(DEBUG_FLAGS / 2) % 2 == 1 then minetest.chat_send_all(composed_message) end