Fix log method

master
Jordan Irwin 2021-05-24 18:02:02 -07:00
parent 67fe75aeaf
commit a3d08ffe2a
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ function cmer.log(lvl, msg)
lvl = nil
end
msg = "[" .. cmer.modname .. "] " msg
msg = "[" .. cmer.modname .. "] " .. msg
if not lvl then
core.log(msg)
else

View File

@ -127,7 +127,7 @@ local function translate_def(def)
if def.stats.has_kockback or def.stats.has_kockback == false then
cmer.log("warning",
core.get_current_modname()
def.name
.. ": \"def.stats.has_kockback\" is deprecated, please use \"def.stats.has_knockback\"")
end