From: Perttu Ahola Date: Mon, 19 Mar 2012 06:23:11 +0000 (+0200) Subject: Do not error() on digprop_* calls but print a warning X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=9101b680c055d4b13f39d55f2b4169883644cc36;p=zefram%2Fminetest%2Fminetest_engine.git Do not error() on digprop_* calls but print a warning --- diff --git a/share/server/builtin.lua b/share/server/builtin.lua index b896be95..9b2bed33 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