From 9101b680c055d4b13f39d55f2b4169883644cc36 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 19 Mar 2012 08:23:11 +0200 Subject: [PATCH] Do not error() on digprop_* calls but print a warning --- share/server/builtin.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2