diff options
author | Rui <Rui914@users.noreply.github.com> | 2015-10-11 21:10:26 +0900 |
---|---|---|
committer | est31 <MTest31@outlook.com> | 2015-10-12 02:05:11 +0200 |
commit | 7f2cefa093aa14729bb49db85a49c7f9b3fed6a4 (patch) | |
tree | 2882c2f97a6d096156ab78591b0ac30407014f55 | |
parent | bda2f565038ccba902880a3daf4ea8d9dbe97069 (diff) | |
download | minetest-7f2cefa093aa14729bb49db85a49c7f9b3fed6a4.tar.gz minetest-7f2cefa093aa14729bb49db85a49c7f9b3fed6a4.tar.bz2 minetest-7f2cefa093aa14729bb49db85a49c7f9b3fed6a4.zip |
Localize digprop_err function
-rw-r--r-- | builtin/game/deprecated.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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 - |