aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-19 08:23:11 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-19 08:23:11 +0200
commit9101b680c055d4b13f39d55f2b4169883644cc36 (patch)
tree0cd4b02e5c210dcfdd2f1376da567d80a2e6dd76 /share
parentd24c56fd4b382e0117783a33278cc255b742c03b (diff)
downloadminetest-9101b680c055d4b13f39d55f2b4169883644cc36.tar.gz
minetest-9101b680c055d4b13f39d55f2b4169883644cc36.tar.bz2
minetest-9101b680c055d4b13f39d55f2b4169883644cc36.zip
Do not error() on digprop_* calls but print a warning
Diffstat (limited to 'share')
-rw-r--r--share/server/builtin.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/server/builtin.lua b/share/server/builtin.lua
index b896be958..9b2bed33f 100644
--- a/share/server/builtin.lua
+++ b/share/server/builtin.lua
@@ -753,7 +753,8 @@ minetest.register_item(":", {
-- Default material types
--
function digprop_err()
- error("The minetest.digprop_* functions are obsolete and need to be replaced by item groups.")
+ minetest.log("info", debug.traceback())
+ minetest.log("info", "WARNING: The minetest.digprop_* functions are obsolete and need to be replaced by item groups.")
end
minetest.digprop_constanttime = digprop_err