From: Rui Date: Sun, 11 Oct 2015 12:10:26 +0000 (+0900) Subject: Localize digprop_err function X-Git-Tag: 0.4.14~618 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7f2cefa093aa14729bb49db85a49c7f9b3fed6a4;p=oweals%2Fminetest.git Localize digprop_err function --- diff --git a/builtin/game/deprecated.lua b/builtin/game/deprecated.lua index bbe68be3e..405e599da 100644 --- a/builtin/game/deprecated.lua +++ b/builtin/game/deprecated.lua @@ -3,7 +3,7 @@ -- -- Default material types -- -function digprop_err() +local function digprop_err() core.log("info", debug.traceback()) core.log("info", "WARNING: The core.digprop_* functions are obsolete and need to be replaced by item groups.") end @@ -50,4 +50,3 @@ setmetatable(core.env, { function core.rollback_get_last_node_actor(pos, range, seconds) return core.rollback_get_node_actions(pos, range, seconds, 1)[1] end -