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-Tag: 0.4.dev-20120320~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9101b680c055d4b13f39d55f2b4169883644cc36;p=oweals%2Fminetest.git Do not error() on digprop_* calls but print a warning --- 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