aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui <Rui914@users.noreply.github.com>2015-10-11 21:10:26 +0900
committerest31 <MTest31@outlook.com>2015-10-12 02:05:11 +0200
commit7f2cefa093aa14729bb49db85a49c7f9b3fed6a4 (patch)
tree2882c2f97a6d096156ab78591b0ac30407014f55
parentbda2f565038ccba902880a3daf4ea8d9dbe97069 (diff)
downloadminetest-7f2cefa093aa14729bb49db85a49c7f9b3fed6a4.tar.gz
minetest-7f2cefa093aa14729bb49db85a49c7f9b3fed6a4.tar.bz2
minetest-7f2cefa093aa14729bb49db85a49c7f9b3fed6a4.zip
Localize digprop_err function
-rw-r--r--builtin/game/deprecated.lua3
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
-